diff options
Diffstat (limited to 'templates/program/boxes/recommendations.html')
-rw-r--r-- | templates/program/boxes/recommendations.html | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/templates/program/boxes/recommendations.html b/templates/program/boxes/recommendations.html index 21afb90..305ffb3 100644 --- a/templates/program/boxes/recommendations.html +++ b/templates/program/boxes/recommendations.html @@ -6,15 +6,28 @@ </head> <body> {% if recommendation_list %} - <dl id="recommendations" class="portlet program-recommendations"> + <dl id="recommendations" class="portlet program-box"> <dt class="portletHeader">Programmhinweise</dt> - {% for recommendation in recommendation_list %} - <dd class="portletItem program-recommendation {{ recommendation.show.broadcastformat.slug }}"> - <h3 class="show-name"><a href="{% url show-detail recommendation.show.slug %}">{{ recommendation.show.name }}</a></h3> - <p class="timeslot-start-end">{{ recommendation.timeslot.start|date:"d.m. H:i" }}-{{ recommendation.timeslot.end|date:"H:i" }}</p> - <p class="note-title"><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></p> + <dd class="portletItem"> + <table> + {% for item in recommendation_list %} + <tr> + <td class="start"> </td> + <td class="format bf-{{ item.show.broadcastformat.slug }}"> </td> + <td class="show"> + {{ item.timeslot.start|date:"d.m. H:i" }} - + {{ item.timeslot.end|date:"H:i" }}<br /> + + <h3><a href="{% url show-detail item.timeslot.id %}">{{ item.show.name }}</a></h3> + <p class="note-title"> + {{ item.title }}<br /> + <a href="{% url timeslot-detail item.timeslot.id %}">[weiter]</a> + </p> + </td> + </tr> + {% endfor %} + </table> </dd> - {% endfor %} </dl> {% endif %} </body> |