Skip to content

Commit

Permalink
IDexterityContainer-view listing view macro calling fix
Browse files Browse the repository at this point in the history
Fix the IDexterityContainer view to make use of plone.app.contenttype's new
listing view. Accessing it's macro needs the macro-caller's view variable set
to the new listing view.
  • Loading branch information
thet committed Jan 27, 2015
1 parent 52640d3 commit 071e043
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,10 @@ Changelog
2.0.13 (unreleased)
-------------------

- Nothing changed yet.
- Fix the IDexterityContainer view to make use of plone.app.contenttype's new
listing view. Accessing it's macro needs the macro-caller's view variable set
to the new listing view.
[thet]


2.0.12 (2014-09-07)
Expand Down
2 changes: 1 addition & 1 deletion plone/app/dexterity/browser/container.pt
Expand Up @@ -26,7 +26,7 @@

<fieldset id="folder-listing">
<legend i18n:translate="" i18n:domain="plone">Contents</legend>
<tal:block define="listing_macro context/folder_listing/macros/listing">
<tal:block define="view nocall:context/folder_listing; listing_macro view/macros/listing">
<metal:use_macro use-macro="listing_macro" />
</tal:block>
</fieldset>
Expand Down

1 comment on commit 071e043

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TESTS FAILED
Mr.roboto url : http://jenkins.plone.org/roboto/get_info?push=818ffb1667e441b58c9a290d48a7518f
plone-4.3-python-2.6 [FAILURE]
plone-4.3-python-2.7 [SUCCESS]

Please sign in to comment.