diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-03-03 16:47:01 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-03-03 16:47:01 (GMT) |
commit | a8c9e1934b5ce2e843c4066d51da24b970a2a740 (patch) | |
tree | 28356ac15fef99669be4b88bf7d45ae698e71f5f /program/templates/v2/recommendation_list.html | |
parent | f7f7e8d43e0277ca684023957d0acba1e27bf467 (diff) | |
parent | 7525ab4a03bfe3fa638f9998cdee93fbfe364853 (diff) |
Merge branch 'new-homepage' into stable
Diffstat (limited to 'program/templates/v2/recommendation_list.html')
-rw-r--r-- | program/templates/v2/recommendation_list.html | 57 |
1 files changed, 27 insertions, 30 deletions
diff --git a/program/templates/v2/recommendation_list.html b/program/templates/v2/recommendation_list.html index c4da031..f668949 100644 --- a/program/templates/v2/recommendation_list.html +++ b/program/templates/v2/recommendation_list.html @@ -7,37 +7,34 @@ <div id="content-main" class="recommendations"> <h1>Programmhinweise</h1> <div id="shows"> - {% for recommendation in recommendation_list %} - <div class="show recommendation bf-{{ recommendation.show.broadcastformat.slug }}"> - <div class="show-abbrevs"> - {% for si in recommendation.show.showinformation.all %} - <span title="{{ si.information }}" - class="abbrev si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span> - {% endfor %} - {% for st in recommendation.show.showtopic.all %} - <span title="{{ st.topic }}" - class="abbrev st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span> - {% endfor %} - {% for mf in recommendation.show.musicfocus.all %} - <span title="{{ mf.focus }}" - class="abbrev mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span> - {% endfor %} - </div> - <div class="show-detail"> - <h4> - <a href="/program/shows/{{ recommendation.show.slug }}">{{ recommendation.show.name }}</a><br/> - vom {{ recommendation.start|date:"d.m. H:i" }}-{{ recommendation.end|date:"H:i" }} - </h4> - <h3 class="show-title"> - {% if recommendation.note %} - <a href="/program/{{ recommendation.id }}">{{ recommendation.note.title }}</a> - {% else %} - <a href="/program/{{ recommendation.id }}">{{ recommendation.show.broadcastformat.format }}</a> - {% endif %} - </h3> - </div> +{% for recommendation in recommendation_list %} + <div class="show recommendation bf-{{ recommendation.show.broadcastformat.slug }}"> + <div class="show-abbrevs"> +{% for si in recommendation.show.showinformation.all %} + <span title="{{ si.information }}" class="abbrev si-{{ si.abbrev }}"><span>{{ si.abbrev }}</span></span> +{% endfor %} +{% for st in recommendation.show.showtopic.all %} + <span title="{{ st.topic }}" class="abbrev st-{{ st.abbrev }}"><span>{{ st.abbrev }}</span></span> +{% endfor %} +{% for mf in recommendation.show.musicfocus.all %} + <span title="{{ mf.focus }}" class="abbrev mf-{{ mf.abbrev }}"><span>{{ mf.abbrev }}</span></span> +{% endfor %} </div> - {% endfor %} + <div class="show-detail"> + <h4> + <a href="/program/shows/{{ recommendation.show.slug }}">{{ recommendation.show.name }}</a><br/> + vom {{ recommendation.start|date:"d.m. H:i" }}-{{ recommendation.end|date:"H:i" }} + </h4> + <h3 class="show-title"> +{% if recommendation.note %} + <a href="/program/{{ recommendation.id }}">{{ recommendation.note.title }}</a> +{% else %} + <a href="/program/{{ recommendation.id }}">{{ recommendation.show.broadcastformat.format }}</a> +{% endif %} + </h3> + </div> + </div> +{% endfor %} </div> </div> |