skip facilities from event list
This commit is contained in:
parent
5be38899b1
commit
dfa9708102
|
@ -8,14 +8,16 @@
|
||||||
|
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
{% for event in event_list %}
|
{% for event in event_list %}
|
||||||
|
{% if event.event_type.name != "Facilities" %}
|
||||||
<a href="{% url 'schedule:event' slug=event.slug %}" class="list-group-item">
|
<a href="{% url 'schedule:event' slug=event.slug %}" class="list-group-item">
|
||||||
<small style="background-color: {{ event.event_type.color }}; border: 0; color: {% if event.event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">
|
<small style="background-color: {{ event.event_type.color }}; border: 0; color: {% if event.event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">
|
||||||
{{ event.event_type.name }}
|
{{ event.event_type.name }}
|
||||||
</small>
|
</small>
|
||||||
{{ event.title }}
|
{{ event.title }}
|
||||||
|
{% if event.speakers.exists %}
|
||||||
|
by {{ event.speakers.all|join:", " }}
|
||||||
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{% if event.speakers.exists %}
|
|
||||||
by {{ event.speakers.all|join:", " }}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue