diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-03-03 14:02:17 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-03-03 14:02:17 (GMT) |
commit | daacb16087c0242a1941f293144ef88566b6b550 (patch) | |
tree | eb1a45f773bd9d9edc5511ed7885f1fc60cca6d8 /program/templates/v2 | |
parent | 59be96ee97d08017bd3ba37b77fc5a3442262909 (diff) |
remove note content from tips endpoint
Diffstat (limited to 'program/templates/v2')
-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 %} |