From 56f5c7b487aeafa31ef8bd4b94a1e2e4311daa81 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Tue, 18 Oct 2022 09:30:02 +0200 Subject: [PATCH] fix missing custom_notes for admins/resellers Signed-off-by: Michael Kaufmann --- templates/Froxlor/user/index.html.twig | 39 +++++++++++++++++--------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/templates/Froxlor/user/index.html.twig b/templates/Froxlor/user/index.html.twig index 0456200d..413e810f 100644 --- a/templates/Froxlor/user/index.html.twig +++ b/templates/Froxlor/user/index.html.twig @@ -118,6 +118,18 @@ {% endif %} + + {% if userinfo.custom_notes is not empty and userinfo.custom_notes_show == 1 %} +
+
    +
  • +
    + {{ userinfo.custom_notes|nl2br|raw }} +
    +
  • +
+
+ {% endif %} {% else %}
-
- - {% if get_setting('customer.news_feed_url') is empty %}Froxlor {% endif %}Newsfeed -
-
-
-
- Loading newsfeed... +
+
+ + {% if get_setting('customer.news_feed_url') is empty %}Froxlor + {% endif %}Newsfeed +
+
+
+
+ Loading newsfeed... +
+ + +
- - -
-
{% endif %}