Skip to content
Browse files

Fixed errors in typesUseViewActionInListings.

  • Loading branch information...
1 parent 0062974 commit 247a97e7e3902c15f19172a156cd1117967e97f8 @mauritsvanrees mauritsvanrees committed Oct 31, 2012
Showing with 6 additions and 4 deletions.
  1. +3 −2 CHANGES.rst
  2. +3 −2 collective/portlet/relateditems/relateditems.pt
View
5 CHANGES.rst
@@ -4,8 +4,9 @@ Change History
0.3.8 (unreleased)
------------------
-- portlet uses property 'typesUseViewActionInListings' to determine whether
- /view should be appended to the item's URL [huubbouma]
+- Portlet uses property 'typesUseViewActionInListings' to determine whether
+ /view should be appended to the URL of the item.
+ [huubbouma]
0.3.7 (2012-10-14)
View
5 collective/portlet/relateditems/relateditems.pt
@@ -8,7 +8,8 @@
</dt>
<tal:rep tal:define="related_items view/getRelatedItems;
- use_view_action site_properties/typesUseViewActionInListings|python:();"
+ properties context/@@plone_tools/properties;
+ use_view_action properties/site_properties/typesUseViewActionInListings|python:();"
tal:repeat="item related_items">
<dd tal:define="oddrow repeat/item/odd;
plone_view context/@@plone;
@@ -19,7 +20,7 @@
tal:attributes="class python:oddrow and 'portletItem even' or 'portletItem odd'">
<a href=""
- tal:attributes="href python:item.Type in use_view_action and itemgetURL() + '/view' or item.getURL();
+ tal:attributes="href python:item.Type in use_view_action and item.getURL() + '/view' or item.getURL();
title item/Description">
<img src="" alt=""
tal:condition="exists:item_object/image_tile"

0 comments on commit 247a97e

Please sign in to comment.
Something went wrong with that request. Please try again.