From 260b444966a813c0e9d75f7a15215fff78e97afd Mon Sep 17 00:00:00 2001 From: eclipse Date: Thu, 8 May 2025 10:23:31 +0200 Subject: [PATCH] removed variable for split character(s) between genres --- the_works/templates/views/text.html | 3 +-- the_works/templates/views/werk.html | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/the_works/templates/views/text.html b/the_works/templates/views/text.html index 5bb6e8f..67061e6 100644 --- a/the_works/templates/views/text.html +++ b/the_works/templates/views/text.html @@ -1,5 +1,4 @@ {% extends 'base.html' %} -{% set SPLIT_CHARACTER = ", " %} {% block title %}Texte{% endblock title %} @@ -51,7 +50,7 @@ {{ text["Reihe"] }} {{ text["Textform"] }} {{ text["Sprache"] }} - {{ text["Genre_list"] | join(SPLIT_CHARACTER) }} + {{ text["Genre_list"] | join(", ") }} diff --git a/the_works/templates/views/werk.html b/the_works/templates/views/werk.html index 5ea6b89..b04f51d 100644 --- a/the_works/templates/views/werk.html +++ b/the_works/templates/views/werk.html @@ -1,5 +1,4 @@ {% extends 'base.html' %} -{% set SPLIT_CHARACTER = ", " %} {% block title %}Werke{% endblock title %} @@ -51,7 +50,7 @@ {{ werk["Reihe"] }} {{ werk["Verlag"] }} {{ werk["Werksform"] }} - {{ werk["Genre_list"] | join(SPLIT_CHARACTER) }} + {{ werk["Genre_list"] | join(", ") }}