diff options
Diffstat (limited to 'helsinki/program')
-rw-r--r-- | helsinki/program/templates/program/broadcastformats_box.html | 20 | ||||
-rw-r--r-- | helsinki/program/urls_program.py | 6 |
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) ) |