summaryrefslogtreecommitdiff
path: root/helsinki/program
diff options
context:
space:
mode:
authorJohannes Raggam <raggam-nl@adm.at>2011-04-11 10:53:41 (GMT)
committerJohannes Raggam <raggam-nl@adm.at>2011-04-11 10:53:41 (GMT)
commit6366aa1a3212c2358ee6e0e38d20c725a79193f3 (patch)
treed948b2d74c8ac2ccb27e87ee4fecc9a5c7de1afc /helsinki/program
parent1eac93fabf853226cb0218cedec09106470a543b (diff)
for broadcastformats box, use the new template tag
Diffstat (limited to 'helsinki/program')
-rw-r--r--helsinki/program/templates/program/broadcastformats_box.html20
-rw-r--r--helsinki/program/urls_program.py6
2 files changed, 0 insertions, 26 deletions
diff --git a/helsinki/program/templates/program/broadcastformats_box.html b/helsinki/program/templates/program/broadcastformats_box.html
deleted file mode 100644
index 13fb0a9..0000000
--- a/helsinki/program/templates/program/broadcastformats_box.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <meta charset="utf-8"/>
- <title>Broadcast Formats</title>
- <link href="/site_media/styles/base.css" media="screen" rel="stylesheet" type="text/css" />
-</head>
-<body>
- {% if broadcastformat_list %}
- <dl id="bcformats" class="portlet program-bcformats">
- <dt class="portletHeader"><span>Legende</span></dt>
- {% for broadcastformat in broadcastformat_list %}
- <dd class="portletItem bcformat bcformat-{{ broadcastformat.slug }}">
- <a href="?broadcastformat={{ broadcastformat.slug }}">{{ broadcastformat.format }}</a>
- </dd>
- {% endfor %}
- </dl>
- {% endif %}
-</body>
-</html>
diff --git a/helsinki/program/urls_program.py b/helsinki/program/urls_program.py
index 5462e10..a93db83 100644
--- a/helsinki/program/urls_program.py
+++ b/helsinki/program/urls_program.py
@@ -17,11 +17,6 @@ timeslot_dict = {
'queryset': TimeSlot.objects.all(),
'template_object_name': 'timeslot'
}
-broadcastformart_dict = {
- 'queryset': BroadcastFormat.objects.all(),
- 'template_name': 'program/broadcastformats_box.html',
- 'template_object_name': 'broadcastformat'
-}
recommendation_dict = {'template_name': 'program/recommendations_box.html'}
urlpatterns = patterns('',
@@ -36,6 +31,5 @@ urlpatterns = patterns('',
(r'^shows/?$', show_list),
url(r'^shows/(?P<slug>[\w-]+)/?$', object_detail, show_dict, name='show-detail'),
url(r'^(?P<object_id>\d+)/?$', object_detail, timeslot_dict, name='timeslot-detail'),
- (r'^broadcastformats_box/?$', object_list, broadcastformart_dict,),
(r'^week/?$', week_schedule)
)