diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-04-10 20:02:37 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-04-10 20:02:37 (GMT) |
commit | f6a05a6a05e7c704f5bd8971ee9b0b7fe4f191e6 (patch) | |
tree | ea02a3b07c3e7b77d0d351effc011869c82d9b51 /helsinki/program/templatetags | |
parent | 59d24b4afc5b0ef61ae9e7a56c9187b525fb2ec3 (diff) |
more boxes
Diffstat (limited to 'helsinki/program/templatetags')
-rw-r--r-- | helsinki/program/templatetags/content_boxes.py | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/helsinki/program/templatetags/content_boxes.py b/helsinki/program/templatetags/content_boxes.py index c43d3f3..56c0afb 100644 --- a/helsinki/program/templatetags/content_boxes.py +++ b/helsinki/program/templatetags/content_boxes.py @@ -9,7 +9,22 @@ from helsinki.program.models import ( ShowInformation, ShowTopic) -@register.inclusion_tag('program/box_broadcastformats.html') -def broadcastformats(): +@register.inclusion_tag('program/box_broadcastformat.html') +def broadcastformat(): broadcastformats = BroadcastFormat.objects.all() return {'broadcastformats': broadcastformats} + +@register.inclusion_tag('program/box_musicfocus.html') +def musicfocus(): + musicfoci = MusicFocus.objects.all() + return {'musicfoci': musicfoci} + +@register.inclusion_tag('program/box_showinformation.html') +def showinformation(): + showinformations = ShowInformation.objects.all() + return {'showinformations': showinformations} + +@register.inclusion_tag('program/box_showtopic.html') +def showtopic(): + showtopics = ShowTopic.objects.all() + return {'showtopics': showtopics} |