From 9448be144a5ae398846a215b9011ebf433c6ea15 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Mar 2017 14:50:08 +0100 Subject: [PATCH] merged with PLIP https://github.com/plone/Products.CMFPlone/issues/1483 --- .../contenttypes/browser/templates/listing.pt | 16 +++++----------- .../browser/templates/listing_summary.pt | 5 +++-- .../browser/templates/listing_tabular.pt | 11 +++-------- 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/plone/app/contenttypes/browser/templates/listing.pt b/plone/app/contenttypes/browser/templates/listing.pt index 3fe0fbc97..e7357ba3a 100644 --- a/plone/app/contenttypes/browser/templates/listing.pt +++ b/plone/app/contenttypes/browser/templates/listing.pt @@ -23,8 +23,6 @@ thumb_size_list python:view.get_thumbSize_list(); thumb_size_table python:view.get_thumbSize_table(); thumb_size_summary python:view.get_thumbSize_summary(); - img_class_list python:'image-'+thumb_size_list; - img_class_summmary python:'image-'+thumb_size_summary; showicons view/show_icons ;"> diff --git a/plone/app/contenttypes/browser/templates/listing_tabular.pt b/plone/app/contenttypes/browser/templates/listing_tabular.pt index ef9dcf321..2a9d864ef 100644 --- a/plone/app/contenttypes/browser/templates/listing_tabular.pt +++ b/plone/app/contenttypes/browser/templates/listing_tabular.pt @@ -51,6 +51,7 @@ item_wf_state item/review_state; item_wf_state_class python:'state-' + view.normalizeString(item_wf_state); item_creator item/Creator; + item_has_image python:item.getIcon; item_link python:item_type in view.use_view_action and item_url+'/view' or item_url; "> - -