src/pyams_default_theme/shared/view/portlet/templates/view-items-horiz-list.pt
changeset 396 fcc70be2fc80
parent 346 5ac6b44152a1
child 440 8fc7bc61494b
equal deleted inserted replaced
395:54d4b7b7c996 396:fcc70be2fc80
    10 					 sm_width 2 if selection == 'portrait' and limit > 6 else 3;
    10 					 sm_width 2 if selection == 'portrait' and limit > 6 else 3;
    11 					 xs_width 2 if selection == 'portrait' and limit > 6 else 3;">
    11 					 xs_width 2 if selection == 'portrait' and limit > 6 else 3;">
    12 		<tal:loop repeat="item items">
    12 		<tal:loop repeat="item items">
    13 			<div class="thumbnail col-lg-${lg_width} col-md-${md_width} col-sm-${sm_width} col-xs-${xs_width}"
    13 			<div class="thumbnail col-lg-${lg_width} col-md-${md_width} col-sm-${sm_width} col-xs-${xs_width}"
    14 				 tal:define="illustration tales:pyams_illustration(item);
    14 				 tal:define="illustration tales:pyams_illustration(item);
    15 							 target tales:relative_url(item);"
    15 							 target view.get_url(item);"
    16 				 tal:condition="illustration">
    16 				 tal:condition="illustration">
    17 				<a href="${target}">
    17 				<a href="${target}">
    18 					<tal:if define="image i18n:illustration.data;
    18 					<tal:if define="image i18n:illustration.data;
    19 									alt i18n:illustration.alt_title;"
    19 									alt i18n:illustration.alt_title;"
    20 							condition="image">
    20 							condition="image">