From: Michael D. <svn...@pl...> - 2010-04-30 23:28:58
|
Author: dunlapm Date: Fri Apr 30 23:28:50 2010 New Revision: 36386 Modified: plone.app.portlets/trunk/CHANGES.txt plone.app.portlets/trunk/plone/app/portlets/browser/templates/manage-contextual.pt Log: Add notice (and link to container) when managing the portlets of the default item in a container. This fixes #10456. Modified: plone.app.portlets/trunk/CHANGES.txt ============================================================================== --- plone.app.portlets/trunk/CHANGES.txt (original) +++ plone.app.portlets/trunk/CHANGES.txt Fri Apr 30 23:28:50 2010 @@ -3,6 +3,10 @@ 2.0b9 - Unreleased ------------------ +- Add notice (and link to container) when managing the portlets of the default + item in a container. This fixes http://dev.plone.org/plone/ticket/10456 + [dunlapm] + - Fix portlets not showing for "normal" users. Fixes http://dev.plone.org/plone/ticket/10461 [zupo, dunlapm] Modified: plone.app.portlets/trunk/plone/app/portlets/browser/templates/manage-contextual.pt ============================================================================== --- plone.app.portlets/trunk/plone/app/portlets/browser/templates/manage-contextual.pt (original) +++ plone.app.portlets/trunk/plone/app/portlets/browser/templates/manage-contextual.pt Fri Apr 30 23:28:50 2010 @@ -28,6 +28,21 @@ Return </a> + <dl class="portalMessage info" + tal:condition="ploneview/isDefaultPageInFolder|nothing"> + <dt i18n:translate=""> + Info + </dt> + <dd i18n:translate="label_manage_portlets_default_view_container"> + You are managing the portlets of the default view of a container. If + you wanted to manage the portlets of the container itself, + <a href="" + i18n:name="go_here" + i18n:translate="label_manage_portlets_default_view_container_go_here" + tal:attributes="href string:${context/aq_inner/aq_parent/absolute_url}/@@manage-portlets">go here</a>. + </dd> + </dl> + <p i18n:translate="description_manage_contextual_portlets"> The portlet columns will first display portlets explicitly assigned in this context. Use the buttons on each portlet |