source: products/quintagroup.betterportletmanager/trunk/quintagroup/betterportletmanager/browser/templates/manage-contextual.pt @ 2111

Last change on this file since 2111 was 475, checked in by crchemist, 18 years ago

More tests added.

File size: 3.1 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      xmlns:tal="http://xml.zope.org/namespaces/tal"
4      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
5      metal:use-macro="context/main_template/macros/master"
6      i18n:domain="plone">
7<head>
8    <div metal:fill-slot="javascript_head_slot" tal:omit-tag="">
9        <link type="text/css" rel="kinetic-stylesheet"
10            tal:attributes="href string:${context/absolute_url}/++resource++manage-portlets.kss"/>
11    </div>
12</head>
13
14<body>
15<div metal:fill-slot="main" tal:define="ploneview context/@@plone;
16                                        parent context/@@plone_context_state/parent">
17
18  <h1 class="documentFirstHeading"
19      i18n:translate="title_manage_contextual_portlets">
20      <img i18n:name="context_icon" tal:replace="structure python:ploneview.getIcon(context).html_tag()" />
21      Manage portlets for
22      "<span i18n:name="context_title" tal:content="context/Title" />"
23  </h1>
24  <dl class="portalMessage info"
25      tal:condition="here/@@plone/isDefaultPageInFolder">
26      <dt i18n:translate="">
27          Info
28      </dt>
29      <dd i18n:translate="label_edit_default_view_container">
30           You are managing portlets for the default view of a container.
31           If you wanted to manage portlets for the container itself,
32         <a href=""
33            i18n:name="go_here"
34            i18n:translate="label_edit_default_view_container_go_here"
35            tal:attributes="href string:${context/aq_inner/aq_parent/absolute_url}/@@manage-portlets">go here</a>.
36      </dd>
37  </dl>
38
39  <a href=""
40       class="link-parent"
41       tal:attributes="href string:${parent/absolute_url}/@@manage-portlets"
42       tal:condition="not:view/is_portal_root"
43       i18n:translate="return_to_view">
44    Up
45  </a>
46  <a href=""
47       tal:attributes="href string:${context/absolute_url}"
48       i18n:translate="return_to_view">
49    &laquo; Return
50  </a>
51
52  <p i18n:translate="description_manage_contextual_portlets">
53    The portlet columns will now display only those portlets
54    explicitly assigned in this context. Use the buttons on each portlet
55    to move them up or down, delete or edit them. To add a new portlet,
56    use the drop-down list at the top of the column.
57  </p>
58
59  <p i18n:translate="description_portlets_block_unblock">
60      If you wish to block or unblock certain categories of portlets, you can
61      do so using the drop-down boxes.
62  </p>
63
64  <div tal:condition="view/has_legacy_portlets">
65
66    <h2 i18n:translate="title_legacy_portlets">Legacy portlets</h2>
67
68    <p i18n:translate="action_convert_legacy_portlets">
69      There are legacy portlets defined here. Click the button to
70      convert them to new-style portlets.
71    </p>
72
73    <form method="POST"
74          tal:attributes="action string:${context/absolute_url}/@@convert-legacy-portlets">
75
76        <input type="submit"
77               class="context"
78               value="Convert portlets"
79               i18n:attributes="value label_convert_portlets"
80               name="convert" />
81   
82    </form>
83
84  </div>
85
86</div>
87</body>
88</html>
Note: See TracBrowser for help on using the repository browser.