Updated inner navigation portlet template
authorThierry Florac <thierry.florac@onf.fr>
Fri, 28 Dec 2018 10:25:39 +0100
changeset 304 0c8fa076f6c2
parent 303 cd6332149c8a
child 305 8f606992afed
Updated inner navigation portlet template
src/pyams_default_theme/component/paragraph/portlet/templates/navigation.pt
--- a/src/pyams_default_theme/component/paragraph/portlet/templates/navigation.pt	Thu Dec 27 16:26:51 2018 +0100
+++ b/src/pyams_default_theme/component/paragraph/portlet/templates/navigation.pt	Fri Dec 28 10:25:39 2018 +0100
@@ -0,0 +1,12 @@
+<div class="" i18n:domain="pyams_default_theme"
+	 tal:define="settings view.settings">
+	<ul class="nav nav-pills nav-stacked">
+		<tal:loop repeat="item view.paragraphs">
+			<li role="presentation"
+				tal:define="title i18n:item.title"
+				tal:condition="title">
+				<a href="#part_${tales:cache_key(item)}">${title}</a>
+			</li>
+		</tal:loop>
+	</ul>
+</div>
\ No newline at end of file