From 3e931443f7c8e999d5b1857bdd64f0074f14bfa9 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Tue, 18 Oct 2022 08:57:34 +0200 Subject: [PATCH] fix wrongly-escaping of some form-field values Signed-off-by: Michael Kaufmann --- templates/Froxlor/form/formfields.html.twig | 8 ++++---- templates/Froxlor/user/index.html.twig | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/Froxlor/form/formfields.html.twig b/templates/Froxlor/form/formfields.html.twig index d0d3a499..8b9dab12 100644 --- a/templates/Froxlor/form/formfields.html.twig +++ b/templates/Froxlor/form/formfields.html.twig @@ -119,7 +119,7 @@ {% if field.next_to is defined %}
{% endif %} - + {% if field.next_to is defined %} {% for nid, nfield in field.next_to %} {% if nfield.next_to_prefix is defined %} @@ -135,9 +135,9 @@ {% if field.next_to is defined %}
{% endif %} - + {% if field.type == 'hidden' and field.display is defined %} - + {% endif %} {% if field.next_to is defined %} {% for nid, nfield in field.next_to %} @@ -201,7 +201,7 @@ {% endmacro %} {% macro textarea(id, field) %} - + {% endmacro %} {% macro link(id, field) %} diff --git a/templates/Froxlor/user/index.html.twig b/templates/Froxlor/user/index.html.twig index 889f708b..0456200d 100644 --- a/templates/Froxlor/user/index.html.twig +++ b/templates/Froxlor/user/index.html.twig @@ -280,7 +280,7 @@ {% endif %} {% if (get_setting('admin.show_news_feed') == 1 and userinfo.adminsession == 1) or (get_setting('customer.show_news_feed') == 1 and userinfo.adminsession == 0) %} -
+
{% if get_setting('customer.news_feed_url') is empty %}Froxlor {% endif %}Newsfeed