Skip to content

Commit

Permalink
Merge branch 'master' into plip10359-security-controlpanel
Browse files Browse the repository at this point in the history
Conflicts:
	CHANGES.rst
  • Loading branch information
Timo Stollenwerk committed Feb 27, 2015
2 parents 3a154ee + 3b80ba1 commit ac46445
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Changelog
properties (see https://github.com/plone/Products.CMFPlone/issues/216).
[jcerjak]

- Fix missing definitions of ``plone_view``. Fixes the recent portlet.
[thet]

- Use plone_layout for getIcon.
[pbauer]

Expand Down
4 changes: 2 additions & 2 deletions plone/app/portlets/browser/templates/manage-contextual.pt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</head>

<body>
<metal:main fill-slot="main" tal:define="ploneview context/@@plone">
<metal:main fill-slot="main" tal:define="plone_view context/@@plone">

<h1 class="documentFirstHeading"
i18n:translate="title_manage_contextual_portlets">
Expand All @@ -40,7 +40,7 @@
</tal:block>

<div class="portalMessage info"
tal:condition="ploneview/isDefaultPageInFolder|nothing">
tal:condition="plone_view/isDefaultPageInFolder|nothing">
<strong i18n:translate="">
Info
</strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
i18n:domain="plone">
<body>

<div metal:fill-slot="main">
<div metal:fill-slot="main" tal:define="plone_view context/@@plone">
<div class="portalMessage info"
tal:condition="ploneview/isDefaultPageInFolder|nothing">
tal:condition="plone_view/isDefaultPageInFolder|nothing">
<strong>
Info
</strong>
Expand Down
1 change: 1 addition & 0 deletions plone/app/portlets/portlets/recent.pt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
tal:condition="view/recent_items">
<ul>
<tal:items tal:define="plone_layout context/@@plone_layout;
plone_view context/@@plone;
getIcon nocall:plone_layout/getIcon;
normalizeString nocall:plone_view/normalizeString;
toLocalizedTime nocall:plone_view/toLocalizedTime;"
Expand Down

1 comment on commit ac46445

@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 PASSED
Mr.Roboto url : http://jenkins.plone.org/roboto/get_info?push=580c5cd99e42491baba88ad82257112e
plone-5.0-python-2.7 [SUCCESS]

Please sign in to comment.