From 62df744c98ee9d9241c39ba0fd56be0198e02645 Mon Sep 17 00:00:00 2001 From: Franz Gerhard Reinisch Date: Fri, 16 Jun 2017 16:28:44 +0200 Subject: [PATCH] fixing https://github.com/plone/Products.CMFPlone/issues/2077 --- mockup/patterns/structure/templates/tablerow.xml | 2 +- mockup/tests/pattern-structure-test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mockup/patterns/structure/templates/tablerow.xml b/mockup/patterns/structure/templates/tablerow.xml index 82215a26c6..cffb48d5f8 100644 --- a/mockup/patterns/structure/templates/tablerow.xml +++ b/mockup/patterns/structure/templates/tablerow.xml @@ -28,7 +28,7 @@ <% } %> <% if(attributes["getIcon"] && thumb_scale) { %> - + <% } %> diff --git a/mockup/tests/pattern-structure-test.js b/mockup/tests/pattern-structure-test.js index e018c652af..dcf2b14855 100644 --- a/mockup/tests/pattern-structure-test.js +++ b/mockup/tests/pattern-structure-test.js @@ -628,7 +628,7 @@ define([ var el = row.render().el; expect($('.title img', el).length).to.equal(1); - expect($('.title img', el).attr('class')).to.have.string('image-tile'); + expect($('.title img', el).attr('class')).to.have.string('thumb-tile'); }); it('should display no icon for contents without images', function() {