diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-12 15:14:15 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-12 15:14:15 (GMT) |
commit | 3e1c4f43fb5ea31d729f92a1bc71b622c2531ab2 (patch) | |
tree | 756406f791b2ca8915e39701e534fa19a27b7539 /templates/program/show_list.html | |
parent | 235719f0621b5e36d877d76cfaf40cdb43033a6e (diff) |
renamed model attributes to be more consistent, updated templates accordingly. added recommendations view and template.
Diffstat (limited to 'templates/program/show_list.html')
-rw-r--r-- | templates/program/show_list.html | 79 |
1 files changed, 38 insertions, 41 deletions
diff --git a/templates/program/show_list.html b/templates/program/show_list.html index 09bfa04..844395d 100644 --- a/templates/program/show_list.html +++ b/templates/program/show_list.html @@ -4,72 +4,69 @@ </head> <body> -<div id="show-topic-list"> - {% for topic in show_topic_list %} - <div class="show-topic"> +<div id="showtopic-list"> +{% for topic in showtopic_list %} + <div class="showtopic"> <span class="abbrev">{{ topic.abbrev }}</span> <span class="topic">{{ topic }}</span> </div> - {% endfor %} +{% endfor %} </div> -<div id="show-information-list"> - {% for information in show_information_list %} - <div class="show-information"> +<div id="showinformation-list"> +{% for information in showinformation_list %} + <div class="showinformation"> <span class="abbrev">{{ information.abbrev }}</span> <span class="information">{{ information }}</span> </div> - {% endfor %} +{% endfor %} </div> -<div id="music-focus-list"> - {% for focus in music_focus_list %} - <div class="music-focus"> +<div id="musicfocus-list"> +{% for focus in musicfocus_list %} + <div class="musicfocus"> <span class="abbrev">{{ focus.abbrev }}</span> <span class="focus">{{ focus }}</span> </div> - {% endfor %} +{% endfor %} </div> <div id="show-list"> - {% for show in show_list %} +{% for show in show_list %} <div class="show"> <div class="abbrevs"> - {% for topic in show.show_topic.all %} - <span class="topic-abbrev">{{ topic.abbrev }}</span> - {% endfor %} + {% for topic in show.showtopic.all %} + <span class="topic-abbrev">{{ topic.abbrev }}</span> + {% endfor %} - {% for information in show.show_information.all %} - <span class="information-abbrev">{{ information.abbrev }}</span> - {% endfor %} + {% for information in show.showinformation.all %} + <span class="information-abbrev">{{ information.abbrev }}</span> + {% endfor %} - {% for focus in show.music_focus.all %} - <span class="focus-abbrev">{{ focus.abbrev }}</span> - {% endfor %} + {% for focus in show.musicfocus.all %} + <span class="focus-abbrev">{{ focus.abbrev }}</span> + {% endfor %} - <span class="broadcast-format-abbrev">{{ show.broadcast_format.abbrev }}</span> + <span class="broadcastformat-abbrev">{{ show.broadcastformat.abbrev }}</span> </div> - <div class="name"> - <a href="{% url show-detail show.slug %} ">{{ show.name }}</a> - </div> - <div class="program-slots"> - {% for slot in show.program_slots.all %} - <div class="program-slot">{{ slot }}</div> - {% endfor %} - </div> - <div class="short-description"> - {{ show.short_description }} + + <div class="name"><a href="{% url show-detail show.slug %} ">{{ show.name }}</a></div> + + <div class="programslots"> + {% for slot in show.programslots.all %} + <div class="programslot">{{ slot }}</div> + {% endfor %} </div> - </div> - {% endfor %} + + <div class="short-description">{{ show.short_description }}</div> + </div> +{% endfor %} </div> -<div id="broadcast-format-list"> - {% for format in broadcast_format_list %} - <div class="broadcast-format"> - {{ format }} - </div> - {% endfor %} +<div id="broadcastformat-list"> +{% for format in broadcastformat_list %} + <div class="broadcastformat">{{ format }}</div> +{% endfor %} </div> </body> |