Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed errors in typesUseViewActionInListings.

  • Loading branch information...
commit 247a97e7e3902c15f19172a156cd1117967e97f8 1 parent 0062974
Maurits van Rees mauritsvanrees authored
5 CHANGES.rst
Source Rendered
@@ -4,8 +4,9 @@ Change History
4 4 0.3.8 (unreleased)
5 5 ------------------
6 6
7   -- portlet uses property 'typesUseViewActionInListings' to determine whether
8   - /view should be appended to the item's URL [huubbouma]
  7 +- Portlet uses property 'typesUseViewActionInListings' to determine whether
  8 + /view should be appended to the URL of the item.
  9 + [huubbouma]
9 10
10 11
11 12 0.3.7 (2012-10-14)
5 collective/portlet/relateditems/relateditems.pt
@@ -8,7 +8,8 @@
8 8 </dt>
9 9
10 10 <tal:rep tal:define="related_items view/getRelatedItems;
11   - use_view_action site_properties/typesUseViewActionInListings|python:();"
  11 + properties context/@@plone_tools/properties;
  12 + use_view_action properties/site_properties/typesUseViewActionInListings|python:();"
12 13 tal:repeat="item related_items">
13 14 <dd tal:define="oddrow repeat/item/odd;
14 15 plone_view context/@@plone;
@@ -19,7 +20,7 @@
19 20 tal:attributes="class python:oddrow and 'portletItem even' or 'portletItem odd'">
20 21
21 22 <a href=""
22   - tal:attributes="href python:item.Type in use_view_action and itemgetURL() + '/view' or item.getURL();
  23 + tal:attributes="href python:item.Type in use_view_action and item.getURL() + '/view' or item.getURL();
23 24 title item/Description">
24 25 <img src="" alt=""
25 26 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.