Added results internal ID in views preview
authorThierry Florac <thierry.florac@onf.fr>
Mon, 19 Nov 2018 10:48:01 +0100
changeset 227 152833cd28f3
parent 226 ad714d0805d1
child 228 44ac5e31ce87
Added results internal ID in views preview
src/pyams_default_theme/shared/view/templates/render.pt
--- a/src/pyams_default_theme/shared/view/templates/render.pt	Fri Nov 16 15:39:04 2018 +0100
+++ b/src/pyams_default_theme/shared/view/templates/render.pt	Mon Nov 19 10:48:01 2018 +0100
@@ -4,7 +4,9 @@
 		WARNING: items displayed in this preview are out of context!!
 	</div>
 	<ul>
-		<li tal:repeat="item view.items"
-			tal:content="i18n:item.title"></li>
+		<li tal:repeat="item view.items">
+			<span>${i18n:item.title}</span>
+			(${tales:oid(item)})
+		</li>
 	</ul>
 </fieldset>