From 7ecfa45d752230b754079467171d3bc43fe8a58f Mon Sep 17 00:00:00 2001 From: afornerot Date: Mon, 12 Jul 2021 12:46:55 +0200 Subject: [PATCH] mise en forme du bage item --- .../views/Pagewidget/viewitem.html.twig | 28 +++++++++++-------- .../Pagewidget/viewitemessential.html.twig | 19 +++++++------ 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitem.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitem.html.twig index c62aa909..0459d743 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitem.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitem.html.twig @@ -180,7 +180,7 @@ {%endif%}
-
+
{% if bookmark.item.content %} {% endif %} @@ -207,10 +207,10 @@

{{ bookmark.item.title }}

+ {{ bookmark.item.subtitle|nl2br }} {% if not bookmark.item.badgeurl is empty %} -
- {% endif %} - {{ bookmark.item.subtitle|nl2br }} +
+ {% endif %}
@@ -236,7 +236,7 @@ {% for bookmark in bookmarks %} {% if bookmark.item %}
-
+
{% if bookmark.item.content %} {% endif %} @@ -263,10 +263,12 @@

{{ bookmark.item.title }}

+ {{ bookmark.item.subtitle|nl2br }} {% if not bookmark.item.badgeurl is empty %} -
- {% endif %} - {{ bookmark.item.subtitle|nl2br }} +
+
+
+ {% endif %}
@@ -301,7 +303,7 @@

{{ bookmark.title }}

- {{ bookmark.subtitle|nl2br }} + {{ bookmark.subtitle|nl2br }}
@@ -412,10 +414,12 @@

{{ item.title }}

+ {{ item.subtitle|nl2br }} {% if not item.badgeurl is empty %} -
- {% endif %} - {{ item.subtitle|nl2br }} +
+
+
+ {% endif %}
diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitemessential.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitemessential.html.twig index 7b17c24c..85c7a5d2 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitemessential.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewitemessential.html.twig @@ -89,7 +89,7 @@ {% for bookmark in bookmarks %} {% if bookmark.item %}
-
+
{% if bookmark.item.content %} {% endif %} @@ -106,9 +106,6 @@ {% endif %}