From 54f30d6279ade0003b42187a96c65a495f03e168 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Thu, 19 Sep 2013 20:00:45 +0200 Subject: [PATCH] fix chapter handling --- mygpo/web/templates/episode.html | 4 ++-- mygpo/web/urls.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mygpo/web/templates/episode.html b/mygpo/web/templates/episode.html index da6f7cd0..fd2bd92f 100644 --- a/mygpo/web/templates/episode.html +++ b/mygpo/web/templates/episode.html @@ -182,10 +182,10 @@ {{ chapter.start|sec_to_time|time:"H:i:s" }}{% if chapter.start != chapter.end %} - {{ chapter.end|sec_to_time|time:"H:i:s" }}{% endif %} {% if chapter.advertisement %}Yes{% endif %} - {{ chapter.label }} + {{ chapter.label }} {% if chapter.is_own %} - + {% trans {% endif %} diff --git a/mygpo/web/urls.py b/mygpo/web/urls.py index acd92333..11e4b5c3 100644 --- a/mygpo/web/urls.py +++ b/mygpo/web/urls.py @@ -84,7 +84,7 @@ urlpatterns += patterns('mygpo.web.views.episode', url(r'^podcast/(?P[\w-]+)/(?P[\w-]+)$', 'show_slug_id', name='episode-slug-id'), url(r'^episode/(?P[\w-]+)/(?P[\w-]+)/add-chapter$', 'add_chapter_slug_id', name='add-chapter-slug-id'), url(r'^episode/(?P[\w-]+)/(?P[\w-]+)/remove-chapter/(?P\d+)-(?P\d+)$', - 'remove_chapter', name='remove-chapter'), + 'remove_chapter_slug_id', name='remove-chapter-slug-id'), url(r'^episode/(?P[\w-]+)/(?P[\w-]+)/toggle-favorite', 'toggle_favorite_slug_id', name='episode-fav-slug-id'), url(r'^episode/(?P[\w-]+)/(?P[\w-]+)/add-action', 'add_action_slug_id', name='add-episode-action-slug-id'), url(r'^podcast/(?P[\w-]+)/(?P[\w-]+)/-flattr', 'flattr_episode_slug_id', name='flattr-episode-slug-id'), -- 2.11.4.GIT