summaryrefslogtreecommitdiffstats
path: root/templates/sites/site_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sites/site_list.html')
-rwxr-xr-xtemplates/sites/site_list.html49
1 files changed, 0 insertions, 49 deletions
diff --git a/templates/sites/site_list.html b/templates/sites/site_list.html
deleted file mode 100755
index 980083b..0000000
--- a/templates/sites/site_list.html
+++ /dev/null
@@ -1,49 +0,0 @@
-{% extends 'sites/base.html' %}
-{% load i18n %}
-{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/dashboard.css{% endblock %}
-{% block head %}{{ object.title }}{{ title }} {% trans 'Infopoint website' %}{% endblock %}
-
-{% block title %}{{ site.name }}{% endblock %}
-{% block content %}
- {% for object in object_list %}
- {% for article in object.event_set.all %}
- <div class="module">
- <h2>{% trans 'Event' %}: <a href="/agenda/{{ article.id }}" class="changelink">{{ article.title }}</a></h2>
- <p>{{ article.description }}</p>
- {% if article.link %}<p>{{ article.link }} </p>{% endif %}
- <p> {{ article.start_date|date }}
-
- <p>{% if article.attendance_set.count %}{% trans 'Asistencia confirmada' %}: {{ article.attendance_set.count }}{% endif %}
- {% if article.comment_set.count %}{% trans 'Comments' %}: {{ article.comment_set.count }}{% endif %}</p>
- <p><a href="agenda/location/{{ article.location_id }}" class="changelink">{% trans 'Location' %}: {{ article.location.colored_location|safe }}</a></p>
- <td><a href="agenda/{{ article.id }}/attend/" class="addlink">{% trans 'I am attending' %}</a></td>
- <td><a href="admin/agenda/event/{{ article.id }}" class="changelink">{% trans 'Modify' %}</a></td>
- </div>
- {% endfor %}
- {% for article in object.flatpage_set.all %}
- <div class="module">
- <h2>{% trans 'Article' %}: {{ article.title }}</h2>
- <p>{{ article.content }}</p>
- </div>
- {% endfor %}
- {% endfor %}
-{% endblock %}
-{% block sidebar %}{{ block.super }}
-{% for object in object_list %}
- {% if object.comment_set.count %}
- <div class="module">
- <h2>{% trans 'Comments' %}</h2>
- <ul class="actionlist">
- {% for article in object.comment_set.all %}
- {% if article.is_public %}
- <li><a href="/agenda/{{ article.content_type }}/{{ article.object_pk }}">{{ article.get_content_object.title }}{{ article.get_content_object.name }} - <strong>{{ article.headline }}</strong>
- <span class="mini quiet">{{ article.comment|truncatewords_html:"10" }}</span></a></li>
- {% endif %}
- {% endfor %}
- <li>Add Comment</li>
- </ul>
- </div>
- {% endif %}
-{% endfor %}
-{% endblock %}
-