--- a/src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt Thu Jun 14 09:11:51 2018 +0200
+++ b/src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt Thu Jun 14 09:12:09 2018 +0200
@@ -1,22 +1,12 @@
<tal:var define="settings view.settings">
- <tal:if condition="settings.visible">
- <tal:var define="items settings.get_items(context)">
- <tal:if condition="items">
- <div tal:repeat="item items">
- <tal:var content="i18n:item.title" />
- </div>
- </tal:if>
- <tal:if condition="not:items" i18n:translate="">
- No result found
- </tal:if>
- </tal:var>
- </tal:if>
- <tal:if condition="not settings.visible">
- <div class="text-center padding-y-5">
- <span class="fa-stack fa-lg">
- <i class="fa fa-eye fa-stack-1x"></i>
- <i class="fa fa-ban fa-stack-2x text-danger"></i>
- </span>
- </div>
- </tal:if>
+ <tal:var define="items settings.get_items(context)">
+ <tal:if condition="items">
+ <div tal:repeat="item items">
+ <tal:var content="i18n:item.title" />
+ </div>
+ </tal:if>
+ <tal:if condition="not:items" i18n:translate="">
+ No result found
+ </tal:if>
+ </tal:var>
</tal:var>