diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:03:56 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:03:56 (GMT) |
commit | c547dce30366b3a6097008086cbc0b917c6a2f85 (patch) | |
tree | 95ab3a86af602f6574180d1c74479c5a2c0c3b40 /program/templates/boxes/broadcastformat.html | |
parent | 1471381dfe74411934ec51f88bb5c4e7e47f2c36 (diff) |
formated templates and updated templatetags
Diffstat (limited to 'program/templates/boxes/broadcastformat.html')
-rw-r--r-- | program/templates/boxes/broadcastformat.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/program/templates/boxes/broadcastformat.html b/program/templates/boxes/broadcastformat.html index 76ee382..c12e635 100644 --- a/program/templates/boxes/broadcastformat.html +++ b/program/templates/boxes/broadcastformat.html @@ -1,10 +1,11 @@ {% if broadcastformats %} -<dl id="broadcastformat" class="portlet"> - <dt class="portletHeader"><span>Legende<span></dt> - {% for broadcastformat in broadcastformats %} - <dd class="portletItem bcformat bf-{{ broadcastformat.slug }}"> - <a title="Sendungen mit dem Sendungsformat {{broadcastformat.format}} anzeigen." href="?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a> - </dd> - {% endfor %} -</dl> + <dl id="broadcastformat" class="portlet"> + <dt class="portletHeader"><span>Legende</span></dt> + {% for bf in broadcastformat_list %} + <dd class="portletItem bcformat bf-{{ bf.slug }}"> + <a title="Sendungen mit dem Sendungsformat {{ bf.format }} anzeigen." + href="?broadcastformat={{ bf.slug }}">{{ bf.format }}</a> + </dd> + {% endfor %} + </dl> {% endif %} |