src/pyams_content/root/zmi/templates/dashboard.pt
changeset 2 7d6c21b84224
parent 0 7c0001cacf8e
child 126 00e660aa11a0
equal deleted inserted replaced
1:f673dd3f94c6 2:7d6c21b84224
     1 <tal:loop repeat="table view.tables">
     1 <tal:var define="global dashboard_length 0">
     2 	<tal:if condition="tuple(table.values)"
     2 	<tal:loop repeat="table view.tables">
     3 			content="structure table.render()" />
     3 		<tal:if condition="table.values">
     4 </tal:loop>
     4 			<tal:var content="structure table.render()" />
       
     5 			<tal:var define="global dashboard_length dashboard_length + len(table.values)" />
       
     6 		</tal:if>
       
     7 	</tal:loop>
       
     8 	<div tal:condition="not:dashboard_length" class="alert alert-info" i18n:translate="">
       
     9 		You are not actually concerned by any content.
       
    10 	</div>
       
    11 </tal:var>