From f6c1a459d45b2203ba0b0b8bb3a0a100155013f7 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 11 Mar 2023 19:59:15 -0500 Subject: [PATCH] Add resume URLs to list views --- vrobbler/templates/scrobbles/long_plays_in_progress.html | 8 ++++++++ vrobbler/templates/videogames/videogame_detail.html | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/vrobbler/templates/scrobbles/long_plays_in_progress.html b/vrobbler/templates/scrobbles/long_plays_in_progress.html index 282350a..b04b44d 100644 --- a/vrobbler/templates/scrobbles/long_plays_in_progress.html +++ b/vrobbler/templates/scrobbles/long_plays_in_progress.html @@ -47,6 +47,9 @@ Scrobbles Title + + Resume + Finish @@ -54,6 +57,9 @@ {{media.scrobble_set.count}} {{media}} + {% if media.author %}{{media.author}}{% else %}{{media.platforms.first}}{% endif %} + Resume + Finish {% endfor %} @@ -88,6 +94,7 @@ Scrobbles Title + @@ -95,6 +102,7 @@ {{media.scrobble_set.count}} {{media}} + {% if media.author %}{{media.author}}{% else %}{{media.platforms.first}}{% endif %} {% endfor %} diff --git a/vrobbler/templates/videogames/videogame_detail.html b/vrobbler/templates/videogames/videogame_detail.html index 666d103..4532cbb 100644 --- a/vrobbler/templates/videogames/videogame_detail.html +++ b/vrobbler/templates/videogames/videogame_detail.html @@ -40,7 +40,7 @@ {% if object.scrobble_set.last.long_play_complete == True %} Play again {% else %} - Resume playing + Resume playing {% endif %}