From cf77e12cc31be6d193d5cb7dd3da332043f9f079 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 13 Jun 2025 12:34:55 -0400 Subject: [PATCH] [tasks] Add description of task to the template --- vrobbler/templates/scrobbles/_row.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vrobbler/templates/scrobbles/_row.html b/vrobbler/templates/scrobbles/_row.html index 8b2ee48..eb78797 100644 --- a/vrobbler/templates/scrobbles/_row.html +++ b/vrobbler/templates/scrobbles/_row.html @@ -2,6 +2,12 @@ {% load naturalduration %} {% if scrobble.in_progress %}{{scrobble.media_obj.strings.verb}} now | Finish{% else %}{{scrobble.timestamp|naturaltime}}{% endif %} - {{scrobble.media_obj|truncatechars_html:45}} + + {% if scrobble.media_type == "Task" %} +

{{scrobble.media_obj.title|truncatechars_html:45}} - {% if scrobble.logdata %}{% if scrobble.logdata.description %}{{scrobble.logdata.description}}{% endif %}{% endif %}

+ {% else %} + {{scrobble.media_obj|truncatechars_html:45}} + {% endif %} + {{scrobble.elapsed_time|natural_duration}}