This commit is contained in:
Thomas Steen Rasmussen 2017-02-11 17:48:47 +01:00
parent 8af7adc943
commit 10a1b55618

View file

@ -8,7 +8,7 @@
{% if eventinstance.schedule_date == day.lower.date %}
<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 eveninstance.event.event_type.light_text %}white{% else %}black{% endif %};">
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>
<br />
{{ eventinstance.event.title }}