diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 18:59:46 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 18:59:46 (GMT) |
commit | 54611a97d636238e9bba65e6d96690ac1446de09 (patch) | |
tree | 95e079cd3ccc5dd0eebcdcd2af0502729b1bba91 /program/templates/boxes/recommendation.html | |
parent | 35bf6baf07aeca3b1ea085939b60497e10c9a71f (diff) |
renamed model field
Diffstat (limited to 'program/templates/boxes/recommendation.html')
-rw-r--r-- | program/templates/boxes/recommendation.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/program/templates/boxes/recommendation.html b/program/templates/boxes/recommendation.html new file mode 100644 index 0000000..d2bb7d2 --- /dev/null +++ b/program/templates/boxes/recommendation.html @@ -0,0 +1,40 @@ +<!doctype html> +<html> +<head> + <meta charset="utf-8"/> + <title>Recomendations box</title> +</head> +<body> + {% if recommendation_list %} + <dl id="recommendations" class="portlet program-box"> + <dt class="portletHeader">Programmhinweise</dt> + <dd class="portletItem"> + <table> + {% for item in recommendation_list %} + <tr> + <td class="start"> </td> + <td class="format bf-{{ item.show.broadcastformat.slug }}" + title="{{ item.show.broadcastformat.format }}"> </td> + <td class="show"> + {{ item.start|date:"d.m. H:i" }} - + {{ item.end|date:"H:i" }}<br /> + <h3> + <a href="{% url "timeslot-detail" item.id %}">{{ item.show.name }}</a> + </h3> + <p class="note-title"> + {% if item.note %} + {{ item.note.title }}<br /> + {% else %} + {{ item.show.broadcastformat.format }}<br /> + {% endif %} + <a href="{% url "timeslot-detail" item.id %}">[weiter]</a> + </p> + </td> + </tr> + {% endfor %} + </table> + </dd> + </dl> + {% endif %} +</body> +</html> |