Updated template
authorThierry Florac <thierry.florac@onf.fr>
Fri, 29 Jun 2018 18:18:33 +0200
changeset 64 b7b9d3181cef
parent 63 a678bf9a40e8
child 65 4ced68ece158
Updated template
src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt
--- a/src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt	Thu Jun 28 13:07:46 2018 +0200
+++ b/src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt	Fri Jun 29 18:18:33 2018 +0200
@@ -1,5 +1,6 @@
 <ul>
-	<li tal:repeat="item view.settings.get_items(context)">
-		<tal:var content="i18n:item.title" />
+	<li tal:repeat="item view.settings.get_items(request)">
+		<a tal:attributes="href extension:relative_url(item)"
+		   tal:content="i18n:item.title">Title</a>
 	</li>
 </ul>