src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt
changeset 840 3dcf565c711e
parent 693 26d51b558325
child 858 1afd36ed6947
equal deleted inserted replaced
839:37c3280e6def 840:3dcf565c711e
     1 <div tal:define="settings view.settings" i18n:domain="pyams_content">
     1 <div tal:define="settings view.settings" i18n:domain="pyams_content">
     2 	<strong tal:content="i18n:settings.title">Title</strong>
     2 	<strong tal:content="i18n:settings.title">Title</strong>
     3 	<tal:var define="subtitle i18n:settings.subtitle" condition="subtitle" content="subtitle" />
     3 	<tal:var define="subtitle i18n:settings.subtitle" condition="subtitle" content="subtitle" />
     4 	<ul>
     4 	<ul>
     5 		<li tal:repeat="link settings.links.get_visible_items()"
     5 		<li tal:repeat="link settings.links.get_visible_items(request)">
     6 			tal:attributes="illustration view.get_link_illustration(link);">
       
     7 			<i class="fa fa-fw fa-eye-slash text-danger hint opaque align-base"
     6 			<i class="fa fa-fw fa-eye-slash text-danger hint opaque align-base"
     8 			   tal:condition="not:view.get_link_status(link)"
     7 			   tal:condition="not:view.get_link_status(link)"
     9 			   title="Link target is not published!" i18n:attributes="title"></i>
     8 			   title="Link target is not published!" i18n:attributes="title"></i>
    10 			<i class="fa fa-fw fa-file-image-o text-danger hint opaque align-base"
     9 			<i class="fa fa-fw fa-file-image-o text-danger hint opaque align-base"
    11 			   tal:define="illustration view.get_link_illustration(link)"
    10 			   tal:define="illustration tales:pyams_illustration(link)"
    12 			   tal:condition="not:illustration and illustration.has_data()"
    11 			   tal:condition="not:illustration and illustration.has_data()"
    13 			   title="Link has no illustration" i18n:attributes="title"></i>
    12 			   title="Link has no illustration" i18n:attributes="title"></i>
    14 			<tal:var define="info view.get_link_info(link)">
    13 			<tal:var define="info view.get_link_info(link)">
    15 				<span tal:content="info.user_title">User title</span>
       
    16 				&ndash;
       
    17 				<span tal:content="info.inner_title">Inner title</span>
    14 				<span tal:content="info.inner_title">Inner title</span>
    18 			</tal:var>
    15 			</tal:var>
    19 		</li>
    16 		</li>
    20 	</ul>
    17 	</ul>
    21 </div>
    18 </div>