--- a/src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt Tue Jul 10 12:03:21 2018 +0200
+++ b/src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt Tue Jul 10 12:39:43 2018 +0200
@@ -1,9 +1,15 @@
<div class="padding-x-5"
tal:define="settings view.settings; global count 0;" i18n:domain="pyams_content">
- <div tal:repeat="item settings.get_items(request, ignore_cache=True)">
- <tal:var content="i18n:item.title" />
- <tal:var define="global count count+1" />
- </div>
+ <strong tal:define="title i18n:settings.title"
+ tal:condition="title">
+ <tal:var content="title" /><br />
+ </strong>
+ <ul>
+ <li tal:repeat="item settings.get_items(request, ignore_cache=True)">
+ <tal:var content="i18n:item.title" />
+ <tal:var define="global count count+1" />
+ </li>
+ </ul>
<tal:if condition="not:count">
<tal:if condition="settings.views" i18n:translate="">No result found</tal:if>
<tal:if condition="not:settings.views" i18n:translate="">No selected view</tal:if>