diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-03-03 14:02:28 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-03-03 14:02:28 (GMT) |
commit | f7f7e8d43e0277ca684023957d0acba1e27bf467 (patch) | |
tree | eb1a45f773bd9d9edc5511ed7885f1fc60cca6d8 /program | |
parent | ef98eb1ea7167a6be047cb9fdbfc500d8272792a (diff) | |
parent | daacb16087c0242a1941f293144ef88566b6b550 (diff) |
Merge branch 'new-homepage' into stable
Diffstat (limited to 'program')
-rw-r--r-- | program/templates/v2/recommendation_list.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/program/templates/v2/recommendation_list.html b/program/templates/v2/recommendation_list.html index 5b47a6e..c4da031 100644 --- a/program/templates/v2/recommendation_list.html +++ b/program/templates/v2/recommendation_list.html @@ -26,17 +26,15 @@ <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> + vom {{ recommendation.start|date:"d.m. H:i" }}-{{ recommendation.end|date:"H:i" }} + </h4> + <h3 class="show-title"> {% if recommendation.note %} - <h3 class="show-title"> - <a href="/program/{{ recommendation.id }}">{{ recommendation.note.title }}</a> - </h3> - <div class="note-content">{{ recommendation.note.content|safe }}</div> + <a href="/program/{{ recommendation.id }}">{{ recommendation.note.title }}</a> {% else %} - <h3 class="show-title"><a - href="/program/{{ recommendation.id }}">{{ recommendation.show.broadcastformat.format }}</a> - </h3> + <a href="/program/{{ recommendation.id }}">{{ recommendation.show.broadcastformat.format }}</a> {% endif %} + </h3> </div> </div> {% endfor %} |