summaryrefslogtreecommitdiffstats
path: root/templates/agenda/event_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/agenda/event_list.html')
-rwxr-xr-xtemplates/agenda/event_list.html21
1 files changed, 1 insertions, 20 deletions
diff --git a/templates/agenda/event_list.html b/templates/agenda/event_list.html
index b9517b8..2b9ae2b 100755
--- a/templates/agenda/event_list.html
+++ b/templates/agenda/event_list.html
@@ -3,27 +3,8 @@
{% if title %}{% block content_title %}<h1>{{ title|escape }}</h1>{% endblock %}
{% endif %}
{% block content %}
-{% if event %}
- {% for object in event %}
- <div class="module">
- {% ifchanged object.start_date %} <h2><a href="/agenda/{{ object.id }}">{{ object.start_date|date }}</a></h2>{% endifchanged %}
- <h3><a href="/agenda/{{ object.id }}">{{ object.title|upper }}</a></h3>
- <p>{{ object.description }}</p>
- <tr>
- <td>{% if object.attendance_set.count %}{% trans 'Interested' %}: {{ object.attendance_set.count }}{% endif %}
- {% if object.comment_set.all %}{% trans 'Comments' %}: {{ object.comment_set.count }}{% endif %}</td>
- <td bgcolor="#{{ object.location.color }}"><a href="location/{{ object.location.id }}" class="changelink">Location: {{ object.location.title }}</a></td>
- <td><a href="{{ object.id }}/attend/" class="addlink">I'm attending</a></td>
- <td><a href="admin/agenda/event/{{ object.id }}" class="changelink">{% trans 'Modify' %}</a></td>
- </tr>
-
- </table>
- <br>
- </div>
- {% endfor %}
-{% endif %}
+{% include "agenda/events_tag.html" %}
{% endblock %}
{% block info %}
template: "agenda/event_list.html"
{% endblock %}
-