Commits

Frank Becker committed 2c4f93e

added in-show template

  • Participants
  • Parent commits 9b3c9c6

Comments (0)

Files changed (1)

File src/submitter/templates/submitter/in_show_list.html

+{% extends "main.html" %}
+
+{% load i18n %}
+
+{% comment %}
+{% block mainmenu %}
+{{ menu_main|safe }}
+{% endblock %}
+
+{% block content %}
+    <div class="right2">
+        {% include "show/list_pentamedia_entries.html" %}
+        {% include "submitter/list_categories.html" %}
+        {% for date in date_list %}
+        <li>
+        <a href="/submit/{{ date|date:"Y" }}/{{ date|date:"m"}}/">{{ date|date:"F" }}</a>
+        </li>
+        {% endfor %}
+    </div>
+{% endblock %}
+{% endcomment %}
+
+{% block content2 %}
+{{ object_list }}
+{% if object_list %}
+{% comment %}
+<p>
+    {% trans 'Here are the ' %} {{ count }} {% trans 'entries for ' %}
+    <em>
+        <a href="/show/{{ show.air_date|date:'Y/m/d' }}/{{ show.slug }}">{{ show.title }}</a>
+    </em>
+</p>
+{% endcomment %}
+    {% include "submitter/list_shows.html" %}
+{% else %}
+{% trans 'Found no entries for the time frame' %}.
+{% endif %}
+<br />
+
+{% endblock %}