From 43fa018afbade0085ffae9734eedd8de75a5fdf9 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sun, 27 Mar 2016 20:56:59 +0200 Subject: fixed templates diff --git a/program/templates/show_detail.html b/program/templates/show_detail.html index 3ab80ed..7993287 100644 --- a/program/templates/show_detail.html +++ b/program/templates/show_detail.html @@ -24,14 +24,14 @@

{{ show.broadcastformat.format }}

- {% for item in show.showinformation.all %} - {{ item.abbrev }} + {% for si in show.showinformation.all %} + {{ si.abbrev }} {% endfor %} - {% for item in show.showtopic.all %} - {{ item.abbrev }} + {% for st in show.showtopic.all %} + {{ st.abbrev }} {% endfor %} - {% for item in show.musicfocus.all %} - {{ item.abbrev }} + {% for mf in show.musicfocus.all %} + {{ mf.abbrev }} {% endfor %}
diff --git a/program/templates/show_list.html b/program/templates/show_list.html index 136930d..62594e9 100644 --- a/program/templates/show_list.html +++ b/program/templates/show_list.html @@ -10,7 +10,7 @@
-
Filter
+
Filter
{% musicfocus %} {% showinformation %} @@ -24,25 +24,25 @@ {% for show in show_list %}
- {% for item in show.showinformation.all %} - {{ item.abbrev }} + {% for si in show.showinformation.all %} + {{ si.abbrev }} {% endfor %} - {% for item in show.showtopic.all %} - {{ item.abbrev }} + {% for st in show.showtopic.all %} + {{ st.abbrev }} {% endfor %} - {% for item in show.musicfocus.all %} - {{ item.abbrev }} + {% for mf in show.musicfocus.all %} + {{ mf.abbrev }} {% endfor %}

{{ show.name }}

    - {% for slot in show.programslots.all %} - {% if slot.has_active_timeslot %} -
  • {{ slot }}
  • + {% for programslot in show.programslots.all %} + {% if programslot.is_active %} +
  • {{ programslot }}
  • {% endif %} {% endfor %}
diff --git a/program/templates/timeslot_detail.html b/program/templates/timeslot_detail.html index c899c32..a3b62af 100644 --- a/program/templates/timeslot_detail.html +++ b/program/templates/timeslot_detail.html @@ -55,7 +55,13 @@ {% endif %}

+ {% load comments %} +
+ {% render_comment_list for timeslot %} + + {% render_comment_form for timeslot %} +
-- cgit v0.10.2