Skip to content

Commit

Permalink
fixing #2077
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrcon committed Jun 17, 2017
1 parent 0c1916c commit 2a08e11
Show file tree
Hide file tree
Showing 17 changed files with 723 additions and 103,285 deletions.
4 changes: 2 additions & 2 deletions Products/CMFPlone/browser/templates/search.pt
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@
<tal:results repeat="item batch">
<li tal:define="hasIcon item/getIcon">
<span class="result-title">
<img class="image-icon"
<img class="thumb-icon"
tal:condition="hasIcon"
tal:replace="structure python: image_scale.tag(item, 'image', scale='icon', css_class='image-icon')">
tal:replace="structure python: image_scale.tag(item, 'image', scale='icon', css_class='thumb-icon')">
<a href="#"
tal:define="item_url item/getURL;
item_type item/PortalType"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
item_type_class python:'contenttype-' + normalizeString(result.portal_type)">
<a tal:attributes="href result/getURL">
<img tal:condition="python:result.getIcon"
tal:replace="structure python: image_scale.tag(result, 'image', scale='tile', css_class='image-tile')">
tal:replace="structure python: image_scale.tag(result, 'image', scale='tile', css_class='thumb-tile')">
<span tal:content="result/pretty_title_or_id"
tal:attributes="class string:$item_type_class $item_wf_state_class" >
Title</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
item_wf_state_class python:'state-' + normalize(item_wf_state);">
<a tal:attributes="href result/getURL">
<img tal:condition="python:result.getIcon"
tal:replace="structure python: image_scale.tag(result, 'image', scale='tile', css_class='image-tile')">
tal:replace="structure python: image_scale.tag(result, 'image', scale='tile', css_class='thumb-tile')">
<span tal:content="result/pretty_title_or_id"
tal:attributes="class string:$item_class $item_wf_state_class">
Title</span>
Expand Down
2 changes: 1 addition & 1 deletion Products/CMFPlone/static/plone-compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Products/CMFPlone/static/plone-compiled.css.map

Large diffs are not rendered by default.

Loading

0 comments on commit 2a08e11

Please sign in to comment.