diff --git a/CHANGES.rst b/CHANGES.rst index 9cb139aec..da9837d70 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -50,6 +50,11 @@ New features: Bug fixes: +- fixed css-classes for thumb scales ... + https://github.com/plone/Products.CMFPlone/issues/2077 + [fgrcon] + + - modal: Fixed duplicate window.confirm on form unload. Fixes `issue 777 `_. [seanupton] diff --git a/mockup/patterns/structure/templates/tablerow.xml b/mockup/patterns/structure/templates/tablerow.xml index 82215a26c..cffb48d5f 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 e018c652a..dcf2b1485 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() {