From 277585147458def89f244a69c450df8fa75b28fd Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 2 Mar 2023 16:11:19 -0500 Subject: [PATCH] Clean up the video detail page --- vrobbler/templates/videos/video_detail.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vrobbler/templates/videos/video_detail.html b/vrobbler/templates/videos/video_detail.html index 3c8f3be..080bf1c 100644 --- a/vrobbler/templates/videos/video_detail.html +++ b/vrobbler/templates/videos/video_detail.html @@ -1,11 +1,9 @@ {% extends "base_detail.html" %} -{% block title %}{{object.name}}{% endblock %} +{% block title %}{{object.title}}{% if object.tv_series %} - {{object.tv_series}}{% endif %}{% endblock %} {% block details %} -
-

{{object.tv_series}}

Last scrobbles

@@ -14,9 +12,11 @@ Date Title + {% if object.tv_series %} Series Season Episode + {% endif %} @@ -24,9 +24,11 @@ {{scrobble.timestamp}} {{scrobble.video.title}} + {% if object.tv_series %} {{scrobble.video.tv_series}} {{scrobble.video.season_number}} {{scrobble.video.episode_number}} + {% endif %} {% endfor %} @@ -34,4 +36,4 @@
-{% endblock %} \ No newline at end of file +{% endblock %}