From 2349c3948717f617fde70decdd670cbd733c9c20 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 13 Apr 2024 20:33:52 -0400 Subject: [PATCH] [templates] Fix div mess in status page --- vrobbler/templates/scrobbles/status.html | 28 ++++++++++-------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/vrobbler/templates/scrobbles/status.html b/vrobbler/templates/scrobbles/status.html index 1e5fe79..a663e1c 100644 --- a/vrobbler/templates/scrobbles/status.html +++ b/vrobbler/templates/scrobbles/status.html @@ -16,9 +16,8 @@

Listening

-
{% if listening %} -

{{listening.media_type}}

+

{{listening.media_obj.title}}

{% if listening.media_obj.subtitle %}

{{listening.media_obj.subtitle}}

{% endif %}
@@ -33,13 +32,12 @@

Watching

+ {% if watching %}
- {% if watching %} -

{{watching.media_type}}

{{watching.media_obj.title}}

{% if watching.media_obj.subtitle %}

{{watching.media_obj.subtitle}}

{% endif %} -

{{watching.timestamp|naturaltime}} from {{watching.source}}

+

{{watching.timestamp|naturaltime}} from {{watching.source}}

{% else %}

Nothing

@@ -49,13 +47,12 @@

Going

+ {% if going %}
- {% if going %} -

{{going.media_type}}

{{going.media_obj}}

{% if going.media_obj.subtitle %}

{{going.media_obj.subtitle}}

{% endif %} -

{{going.timestamp|naturaltime}} from {{going.source}}

+

{{going.timestamp|naturaltime}} from {{going.source}}

{% else %}

Nowhere

@@ -65,13 +62,12 @@

Playing

+ {% if playing %}
- {% if playing %} -

{{playing.media_type}}

{{playing.media_obj}}

{% if playing.media_obj.subtitle %}

{{playing.media_obj.subtitle}}

{% endif %} -

{{playing.timestamp|naturaltime}} from {{playing.source}}

+

{{playing.timestamp|naturaltime}} from {{playing.source}}

{% else %}

Nothing

@@ -81,13 +77,12 @@

Reading

+ {% if reading %}
- {% if reading %} -

{{reading.media_type}}

{{reading.media_obj}}

{% if reading.media_obj.subtitle %}

{{reading.media_obj.subtitle}}

{% endif %} -

{{reading.timestamp|naturaltime}} from {{reading.source}}

+

{{reading.timestamp|naturaltime}} from {{reading.source}}

{% else %}

Nothing

@@ -97,13 +92,12 @@

Sessioning

+ {% if sessioning %}
- {% if sessioning %} -

{{sessioning.media_type}}

{{sessioning.media_obj}}

{% if sessioning.media_obj.subtitle %}

{{sessioning.media_obj.subtitle}}

{% endif %} -

{{sessioning.timestamp|naturaltime}} from {{sessioning.source}}

+

{{sessioning.timestamp|naturaltime}} from {{sessioning.source}}

{% else %}

Nothing