From 1645725106426639852324461a2ba455fea3059c Mon Sep 17 00:00:00 2001 From: Pascal Repond Date: Mon, 5 Jan 2026 18:14:18 +0100 Subject: [PATCH] fix: back button in media detail and edit views --- src/templates/media_detail.html | 19 +++++-------------- src/templates/media_edit.html | 23 ++++------------------- 2 files changed, 9 insertions(+), 33 deletions(-) diff --git a/src/templates/media_detail.html b/src/templates/media_detail.html index 99853c3..94c4bab 100644 --- a/src/templates/media_detail.html +++ b/src/templates/media_detail.html @@ -9,19 +9,10 @@ {# Header #}
- +

{{ media.title }} {% if media.pub_year %}({{ media.pub_year }}){% endif %} @@ -103,7 +94,7 @@

{% if media.review %}
-
{{ media.review_rendered|safe }}
+
{{ media.review_rendered|safe }}
{% endif %} diff --git a/src/templates/media_edit.html b/src/templates/media_edit.html index 1a26d13..7ce2cc8 100644 --- a/src/templates/media_edit.html +++ b/src/templates/media_edit.html @@ -25,25 +25,10 @@ {# Header #}
-
- {% heroicon_outline "arrow-left" class="w-5 h-5" %} - -
+

{% if media %} {% translate "Edit" %} {{ media.title }}