src/pyams_default_theme/shared/logo/templates/logos-default.pt
changeset 232 7898006e140c
parent 224 d1189038613e
child 233 d5f9f495dc30
equal deleted inserted replaced
231:d462a5ced83e 232:7898006e140c
     1 <h3 tal:content="view.title">title</h3>
     1 <div class="logos" i18n:domain="pyams_default_theme">
     2 <div class="padding-10" i18n:domain="pyams_default_theme">
     2 	<h3>${view.title}</h3>
     3 	<tal:loop repeat="logo context.get_targets()">
     3 	<tal:loop repeat="logo context.get_targets()">
     4 		<tal:if condition="logo is not None">
     4 		<div class="logo col-lg-2 col-md-2 col-sm-2 col-xs-3"
       
     5 			 tal:condition="logo is not None">
     5 			<a tal:omit-tag="not:logo.url"
     6 			<a tal:omit-tag="not:logo.url"
     6 			   tal:attributes="href logo.url" target="_blank">
     7 			   href="${logo.url}" title="${i18n:logo.title}">
     7 				<tal:var content="structure tales:thumbnail(logo.image, 200, 'auto', 'display-inline margin-10')" />
     8 				${structure:tales:picture(logo.image, lg_thumb='square', lg_width=2, md_thumb='square', md_width=2,
       
     9 										  sm_thumb='square', sm_width=2, xs_thumb='square', xs_width=3, css_class='thumbnail')}
     8 			</a>
    10 			</a>
     9 		</tal:if>
    11 		</div>
    10 	</tal:loop>
    12 	</tal:loop>
    11 </div>
    13 </div>