Updated search results template
authorThierry Florac <tflorac@ulthar.net>
Wed, 28 Nov 2018 09:52:34 +0100
changeset 262 afe9d8d8692d
parent 261 5ecc6a3743e9
child 263 37a0b0a69b02
Updated search results template
src/pyams_default_theme/features/search/portlet/templates/search-results.pt
--- a/src/pyams_default_theme/features/search/portlet/templates/search-results.pt	Wed Nov 28 09:51:51 2018 +0100
+++ b/src/pyams_default_theme/features/search/portlet/templates/search-results.pt	Wed Nov 28 09:52:34 2018 +0100
@@ -19,10 +19,10 @@
 		</header>
 		<tal:loop repeat="item items">
 			<tal:var define="target tales:relative_url(item)">
-				<div class="thumbnail pull-left col-lg-3 col-md-3 col-sm-4 hidden-xs">
-					<a tal:define="illustration tales:pyams_illustration(item)"
-					   tal:condition="illustration"
-					   href="${target}">
+				<div class="thumbnail pull-left col-lg-3 col-md-3 col-sm-4 hidden-xs"
+					 tal:define="illustration tales:pyams_illustration(item)"
+					 tal:condition="illustration">
+					<a href="${target}">
 						<tal:if define="image i18n:illustration.data;
 										alt i18n:illustration.alt_title;"
 								condition="image">