equal
deleted
inserted
replaced
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"> |