From 9ad21d561b6675a02d2df1d045039ef79310d8e4 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 20 Apr 2021 13:18:57 +0200 Subject: [PATCH] Update tpls --- .../Resources/views/Macros/box.html.twig | 35 +++++++++++++++++-- .../views/Resource/info_ajax.html.twig | 4 +-- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/src/CoreBundle/Resources/views/Macros/box.html.twig b/src/CoreBundle/Resources/views/Macros/box.html.twig index 81a7140349..8162ef52dd 100644 --- a/src/CoreBundle/Resources/views/Macros/box.html.twig +++ b/src/CoreBundle/Resources/views/Macros/box.html.twig @@ -245,18 +245,21 @@ {% macro panel_box(id, title, content, subtitle) %} {% autoescape false %} -
-
+
+
+
{% if title %} {{ title }} {% endif %} +
+
+
{{ content }} {% if subtitle %} {{ subtitle }} {% endif %} -
{% endautoescape %} @@ -431,6 +434,32 @@
{% endmacro %} +{% macro card_widget(name, content, icon, extra) %} +
+
+
+
+ + {% if extra %} + {{ extra }} + {% endif %} +
+
+
+
+ {{ content }} +
+
+ {{ name }} +
+
+
+
+
+
+{% endmacro %} + + {% macro reporting_user_details(user) %} {% autoescape false %}
diff --git a/src/CoreBundle/Resources/views/Resource/info_ajax.html.twig b/src/CoreBundle/Resources/views/Resource/info_ajax.html.twig index 2d0dc017fc..5a28ad78dc 100644 --- a/src/CoreBundle/Resources/views/Resource/info_ajax.html.twig +++ b/src/CoreBundle/Resources/views/Resource/info_ajax.html.twig @@ -1,8 +1,6 @@ {% block content %} +{# deprecated#} {% autoescape false %} -{#
#} -{#
#} -