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 4c361629..f84b58ad 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 @@ -102,17 +102,127 @@ {% endif %} {% if search %} -
+
{% endif %} - {% if (bookmarks is not empty or (canadd and access!="config")) and (withbookmark==0 or withbookmark==2) %} + {% if (bookmarks is not empty or (canadd and access!="config")) and withbookmark==0 %} +
+

Favoris

+
+
+
+ {% for bookmark in bookmarks if not bookmark.item %} + + {%endfor%} + + + {% if (canadd and access!="config") %} +
+
+ +
+
+ {% endif %} +
+ + {% set haveressource=false %} + {% for bookmark in bookmarks if bookmark.item %} + {% if loop.first %} + {% set haveressource=true %} +

Mes Ressources

+
+
+
+ {%endif%} + +
+
+ {% if bookmark.item.content %} + + {% endif %} + {% if canadd %} + + {% endif %} + + {% if bookmark.item.target == 'frame' %} + + {% elseif bookmark.target == "_self" %} + + {% else %} + + {% endif %} + + + + + +
+
+ {%endfor%} + + {% if haveressource %} +
+ {%endif%} +
+ {% endif %} + + {% if (bookmarks is not empty or (canadd and access!="config")) and withbookmark==2 %}
- {% if items is not empty %} -

Favoris

- {% endif %}