GetTogether/events/templates/events/event_list.html

15 lines
345 B
HTML

{% if events_list %}
<table border="0" width="960px">
{% for event in events_list %}
<tr>
<td><a href="{% url 'show-event' event.id event.slug %}">{{ event.name }}</a></td>
<td>{{ event.place }}</td>
<td>{{ event.start_time }}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>No events are available.</p>
{% endif %}