From 5e3d0d7be340d65187f0701dd274321ddd8e4b5a Mon Sep 17 00:00:00 2001 From: Simon Gantenbein <28899559+ganti@users.noreply.github.com> Date: Sun, 21 Jan 2024 18:04:22 +0100 Subject: [PATCH] Add CSS Classes (#392) (#394) * Add CSS Classes (#392) * Remove whitespace-nowrap (#392) --------- Co-authored-by: Damien Harper --- src/Resources/views/Audit/audits.html.twig | 2 +- src/Resources/views/Audit/entry.html.twig | 8 ++++---- src/Resources/views/Audit/transaction.html.twig | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Resources/views/Audit/audits.html.twig b/src/Resources/views/Audit/audits.html.twig index d4b602c6..b57cacac 100644 --- a/src/Resources/views/Audit/audits.html.twig +++ b/src/Resources/views/Audit/audits.html.twig @@ -23,7 +23,7 @@ {% block dh_auditor_content %}
{% for entity, table in audited %} -
+

{{ entity|escape }} diff --git a/src/Resources/views/Audit/entry.html.twig b/src/Resources/views/Audit/entry.html.twig index 8e64c75d..fac39ca9 100644 --- a/src/Resources/views/Audit/entry.html.twig +++ b/src/Resources/views/Audit/entry.html.twig @@ -1,6 +1,6 @@ {% import '@DHAuditor/Audit/helpers/helper.html.twig' as helper %} -
+
{% if not is_last %} {% endif %} @@ -10,7 +10,7 @@ {{ helper.icon_type(entry.getType()) }}
-
+

{{ helper.summarize(entity, entry) }}

@@ -51,7 +51,7 @@ {{ key }} - + {% if values.old is defined %} {% if values.old is null %} null @@ -60,7 +60,7 @@ {% endif %} {% endif %} - + {% if values.new is defined %} {% if values.new is null %} null diff --git a/src/Resources/views/Audit/transaction.html.twig b/src/Resources/views/Audit/transaction.html.twig index aa11aceb..0af7a354 100644 --- a/src/Resources/views/Audit/transaction.html.twig +++ b/src/Resources/views/Audit/transaction.html.twig @@ -51,7 +51,7 @@
{% endif %} -
+
{{ entity }}