-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/master Date: 2017-06-17T11:59:36+02:00 Author: Franz Gerhard Reinisch (fgrcon) <[email protected]> Commit: plone/plone.app.portlets@d4458b0 fixing plone/Products.CMFPlone#2077 Files changed: M CHANGES.rst M plone/app/portlets/portlets/navigation_recurse.pt M plone/app/portlets/portlets/news.pt M plone/app/portlets/portlets/recent.pt M plone/app/portlets/portlets/review.pt Repository: plone.app.portlets Branch: refs/heads/master Date: 2017-06-17T23:39:42+02:00 Author: Johannes Raggam (thet) <[email protected]> Commit: plone/plone.app.portlets@9bdd2b2 Merge pull request #101 from plone/fgrcon-fix-2077 Fgrcon fix 2077 Files changed: M CHANGES.rst M plone/app/portlets/portlets/navigation_recurse.pt M plone/app/portlets/portlets/news.pt M plone/app/portlets/portlets/recent.pt M plone/app/portlets/portlets/review.pt
- Loading branch information
Showing
1 changed file
with
132 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,174 @@ | ||
Repository: plone.app.event | ||
Repository: plone.app.portlets | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2017-06-17T12:17:02+02:00 | ||
Date: 2017-06-17T11:59:36+02:00 | ||
Author: Franz Gerhard Reinisch (fgrcon) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.event/commit/63ab98654a259c01938d9c4303999f59d394e98c | ||
Commit: https://github.com/plone/plone.app.portlets/commit/d4458b057b70d1913e5a494e8bc227c270f95eae | ||
|
||
fixing https://github.com/plone/Products.CMFPlone/issues/2077 | ||
|
||
Files changed: | ||
M CHANGES.rst | ||
M plone/app/event/portlets/portlet_events.pt | ||
M plone/app/portlets/portlets/navigation_recurse.pt | ||
M plone/app/portlets/portlets/news.pt | ||
M plone/app/portlets/portlets/recent.pt | ||
M plone/app/portlets/portlets/review.pt | ||
|
||
diff --git a/CHANGES.rst b/CHANGES.rst | ||
index e5f7e932..38d991cf 100644 | ||
index 69a3438..f634f0e 100644 | ||
--- a/CHANGES.rst | ||
+++ b/CHANGES.rst | ||
@@ -16,8 +16,10 @@ New features: | ||
[fgrcon] | ||
|
||
@@ -40,6 +40,10 @@ New features: | ||
|
||
Bug fixes: | ||
- | ||
-- *add item here* | ||
+- | ||
|
||
+- fixed css-classes for thumb scales ... | ||
+ https://github.com/plone/Products.CMFPlone/issues/2077 | ||
+ [fgrcon] | ||
+ | ||
- Fix regression where navigation portlet ignored unlimited setting for | ||
*Navigation tree depth* setting | ||
[datakurre] | ||
diff --git a/plone/app/portlets/portlets/navigation_recurse.pt b/plone/app/portlets/portlets/navigation_recurse.pt | ||
index f022048..4bef550 100644 | ||
--- a/plone/app/portlets/portlets/navigation_recurse.pt | ||
+++ b/plone/app/portlets/portlets/navigation_recurse.pt | ||
@@ -40,7 +40,7 @@ | ||
src python:view.getMimeTypeIcon(node);"> | ||
|
||
<img tal:condition="python:has_thumb and thumb_scale" | ||
- tal:replace="structure python:image_scale.tag(item, 'image', scale=thumb_scale, css_class='pull-right image-'+thumb_scale)"> | ||
+ tal:replace="structure python:image_scale.tag(item, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)"> | ||
|
||
<span tal:replace="node/Title">Selected Item Title</span> | ||
</a> | ||
diff --git a/plone/app/portlets/portlets/news.pt b/plone/app/portlets/portlets/news.pt | ||
index de7c05e..33fa54c 100644 | ||
--- a/plone/app/portlets/portlets/news.pt | ||
+++ b/plone/app/portlets/portlets/news.pt | ||
@@ -32,7 +32,7 @@ | ||
tal:attributes="href obj/getURL; | ||
title obj/Description"> | ||
<img tal:condition="python:obj.getIcon and thumb_scale" | ||
- tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right image-'+thumb_scale)" /> | ||
+ tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)" /> | ||
|
||
<span tal:replace="obj/pretty_title_or_id"> | ||
Plone 5.1 announced! | ||
diff --git a/plone/app/portlets/portlets/recent.pt b/plone/app/portlets/portlets/recent.pt | ||
index c9492fd..6a5fe80 100644 | ||
--- a/plone/app/portlets/portlets/recent.pt | ||
+++ b/plone/app/portlets/portlets/recent.pt | ||
@@ -41,7 +41,7 @@ | ||
src python:view.getMimeTypeIcon(obj);"> | ||
|
||
3.0.4 (2017-02-12) | ||
diff --git a/plone/app/event/portlets/portlet_events.pt b/plone/app/event/portlets/portlet_events.pt | ||
index e6aa5cde..72643942 100644 | ||
--- a/plone/app/event/portlets/portlet_events.pt | ||
+++ b/plone/app/event/portlets/portlet_events.pt | ||
@@ -30,7 +30,7 @@ | ||
title item_descr" | ||
tal:define="scale item/context/@@images|nothing;"> | ||
<span tal:condition="item_hasimage"> | ||
- <img tal:define="img_tag python:scale.scale('image', scale=thumb_scale).tag(css_class='pull-right image-'+thumb_scale)" | ||
+ <img tal:define="img_tag python:scale.scale('image', scale=thumb_scale).tag(css_class='pull-right thumb-'+thumb_scale)" | ||
tal:replace="structure img_tag" /> | ||
</span> | ||
<span tal:replace="item_title">Some Event</span> | ||
<img tal:condition="python:obj.getIcon and thumb_scale and not supress_thumb and image_scale" | ||
- tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right image-'+thumb_scale)" /> | ||
+ tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)" /> | ||
|
||
<span tal:content="obj/pretty_title_or_id"> | ||
Title | ||
diff --git a/plone/app/portlets/portlets/review.pt b/plone/app/portlets/portlets/review.pt | ||
index 8e7f1f9..e150d5f 100644 | ||
--- a/plone/app/portlets/portlets/review.pt | ||
+++ b/plone/app/portlets/portlets/review.pt | ||
@@ -39,7 +39,7 @@ | ||
class string:$review_state_class tile $item_class"> | ||
|
||
<img tal:condition="python:hasImage and thumb_scale!='none' and imagescale is not None" | ||
- tal:replace="structure python:image.scale('image', scale=thumb_scale).tag(css_class='pull-right image-'+thumb_scale)"/> | ||
+ tal:replace="structure python:image.scale('image', scale=thumb_scale).tag(css_class='pull-right thumb-'+thumb_scale)"/> | ||
|
||
<span tal:replace="obj/title"> | ||
Title | ||
|
||
|
||
Repository: plone.app.event | ||
Repository: plone.app.portlets | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2017-06-17T23:39:36+02:00 | ||
Date: 2017-06-17T23:39:42+02:00 | ||
Author: Johannes Raggam (thet) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.event/commit/bb4323314035aeb060c18af6fb940262590d56fc | ||
Commit: https://github.com/plone/plone.app.portlets/commit/9bdd2b23a8427731d491bcf1306f78459393df62 | ||
|
||
Merge pull request #259 from plone/fgrcon-fix-2077 | ||
Merge pull request #101 from plone/fgrcon-fix-2077 | ||
|
||
fixing https://github.com/plone/Products.CMFPlone/issues/2077 | ||
Fgrcon fix 2077 | ||
|
||
Files changed: | ||
M CHANGES.rst | ||
M plone/app/event/portlets/portlet_events.pt | ||
M plone/app/portlets/portlets/navigation_recurse.pt | ||
M plone/app/portlets/portlets/news.pt | ||
M plone/app/portlets/portlets/recent.pt | ||
M plone/app/portlets/portlets/review.pt | ||
|
||
diff --git a/CHANGES.rst b/CHANGES.rst | ||
index e5f7e932..38d991cf 100644 | ||
index 69a3438..f634f0e 100644 | ||
--- a/CHANGES.rst | ||
+++ b/CHANGES.rst | ||
@@ -16,8 +16,10 @@ New features: | ||
[fgrcon] | ||
|
||
@@ -40,6 +40,10 @@ New features: | ||
|
||
Bug fixes: | ||
- | ||
-- *add item here* | ||
+- | ||
|
||
+- fixed css-classes for thumb scales ... | ||
+ https://github.com/plone/Products.CMFPlone/issues/2077 | ||
+ [fgrcon] | ||
+ | ||
- Fix regression where navigation portlet ignored unlimited setting for | ||
*Navigation tree depth* setting | ||
[datakurre] | ||
diff --git a/plone/app/portlets/portlets/navigation_recurse.pt b/plone/app/portlets/portlets/navigation_recurse.pt | ||
index f022048..4bef550 100644 | ||
--- a/plone/app/portlets/portlets/navigation_recurse.pt | ||
+++ b/plone/app/portlets/portlets/navigation_recurse.pt | ||
@@ -40,7 +40,7 @@ | ||
src python:view.getMimeTypeIcon(node);"> | ||
|
||
<img tal:condition="python:has_thumb and thumb_scale" | ||
- tal:replace="structure python:image_scale.tag(item, 'image', scale=thumb_scale, css_class='pull-right image-'+thumb_scale)"> | ||
+ tal:replace="structure python:image_scale.tag(item, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)"> | ||
|
||
<span tal:replace="node/Title">Selected Item Title</span> | ||
</a> | ||
diff --git a/plone/app/portlets/portlets/news.pt b/plone/app/portlets/portlets/news.pt | ||
index de7c05e..33fa54c 100644 | ||
--- a/plone/app/portlets/portlets/news.pt | ||
+++ b/plone/app/portlets/portlets/news.pt | ||
@@ -32,7 +32,7 @@ | ||
tal:attributes="href obj/getURL; | ||
title obj/Description"> | ||
<img tal:condition="python:obj.getIcon and thumb_scale" | ||
- tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right image-'+thumb_scale)" /> | ||
+ tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)" /> | ||
|
||
<span tal:replace="obj/pretty_title_or_id"> | ||
Plone 5.1 announced! | ||
diff --git a/plone/app/portlets/portlets/recent.pt b/plone/app/portlets/portlets/recent.pt | ||
index c9492fd..6a5fe80 100644 | ||
--- a/plone/app/portlets/portlets/recent.pt | ||
+++ b/plone/app/portlets/portlets/recent.pt | ||
@@ -41,7 +41,7 @@ | ||
src python:view.getMimeTypeIcon(obj);"> | ||
|
||
<img tal:condition="python:obj.getIcon and thumb_scale and not supress_thumb and image_scale" | ||
- tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right image-'+thumb_scale)" /> | ||
+ tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)" /> | ||
|
||
<span tal:content="obj/pretty_title_or_id"> | ||
Title | ||
diff --git a/plone/app/portlets/portlets/review.pt b/plone/app/portlets/portlets/review.pt | ||
index 8e7f1f9..e150d5f 100644 | ||
--- a/plone/app/portlets/portlets/review.pt | ||
+++ b/plone/app/portlets/portlets/review.pt | ||
@@ -39,7 +39,7 @@ | ||
class string:$review_state_class tile $item_class"> | ||
|
||
<img tal:condition="python:hasImage and thumb_scale!='none' and imagescale is not None" | ||
- tal:replace="structure python:image.scale('image', scale=thumb_scale).tag(css_class='pull-right image-'+thumb_scale)"/> | ||
+ tal:replace="structure python:image.scale('image', scale=thumb_scale).tag(css_class='pull-right thumb-'+thumb_scale)"/> | ||
|
||
3.0.4 (2017-02-12) | ||
diff --git a/plone/app/event/portlets/portlet_events.pt b/plone/app/event/portlets/portlet_events.pt | ||
index e6aa5cde..72643942 100644 | ||
--- a/plone/app/event/portlets/portlet_events.pt | ||
+++ b/plone/app/event/portlets/portlet_events.pt | ||
@@ -30,7 +30,7 @@ | ||
title item_descr" | ||
tal:define="scale item/context/@@images|nothing;"> | ||
<span tal:condition="item_hasimage"> | ||
- <img tal:define="img_tag python:scale.scale('image', scale=thumb_scale).tag(css_class='pull-right image-'+thumb_scale)" | ||
+ <img tal:define="img_tag python:scale.scale('image', scale=thumb_scale).tag(css_class='pull-right thumb-'+thumb_scale)" | ||
tal:replace="structure img_tag" /> | ||
</span> | ||
<span tal:replace="item_title">Some Event</span> | ||
<span tal:replace="obj/title"> | ||
Title | ||
|
||
|