a bit more work on location icons

This commit is contained in:
Thomas Steen Rasmussen 2017-03-15 21:54:57 +01:00
parent 2515c08d97
commit 9997897160
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,7 @@
<style>
.fa-select {
font-family: sans-serif, 'FontAwesome';
font-family: 'FontAwesome';
}
</style>

View file

@ -10,7 +10,8 @@
<a class="event"
href="{% url 'event_detail' camp_slug=camp.slug slug=eventinstance.event.slug %}"
style="background-color: {{ eventinstance.event.event_type.color }}; border: 0; color: {% if eventinstance.event.event_type.light_text %}white{% else %}black{% endif %};">
<small>{{ eventinstance.when.lower|date:"H:i" }} - {{ eventinstance.when.upper|date:"H:i" }}</small>
<small>{{ eventinstance.when.lower|date:"H:i" }} - {{ eventinstance.when.upper|date:"H:i" }}</small>
<span class="pull-right" style="font-family: 'FontAwesome';">&#x{{ eventinstance.location.icon }};</span>
<br />
{{ eventinstance.event.title }}
<br />