Added selected views OID in preview
authorThierry Florac <thierry.florac@onf.fr>
Fri, 16 Nov 2018 12:43:47 +0100
changeset 1099 74277fdf437e
parent 1098 dc8d006e048f
child 1100 3666e9ca6833
Added selected views OID in preview
src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt
--- a/src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt	Fri Nov 16 11:54:55 2018 +0100
+++ b/src/pyams_content/shared/view/portlet/zmi/templates/view-items-list-preview.pt	Fri Nov 16 12:43:47 2018 +0100
@@ -8,7 +8,7 @@
 		<span i18n:translate="">Selected views:</span>
 		<tal:if condition="not:settings.views" i18n:translate="">none</tal:if>
 		<tal:loop repeat="view settings.get_views()">
-			${i18n:view.title}<tal:if condition="not:repeat.view.end()">,</tal:if>
+			<span>${i18n:view.title}</span> (${tales:oid(view)})<tal:if condition="not:repeat.view.end()">,</tal:if>
 		</tal:loop>
 	</div>
 	<div>