Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
adding plone.app.toolbar domain to template
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Feb 26, 2013
1 parent b63af04 commit 84f3a76
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions plone/app/toolbar/toolbar.pt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
</head>
<body>

<div id="plone-toolbar">
<div id="plone-toolbar"
i18n:domain="plone.app.toolbar">
<div class="toolbar">
<div class="toolbar-top"></div>
<div class="toolbar-right">
Expand All @@ -25,7 +26,8 @@
tal:attributes="
href subitem/url;
target subitem/link_target|nothing;"
tal:content="subitem/title">Link Title</a>
tal:content="subitem/title"
i18n:translate="">Link Title</a>
</li>
</ul>
</li>
Expand All @@ -41,7 +43,8 @@
tal:attributes="
href item/url|nothing;
target item/link_target|nothing;"
tal:content="item/title">Link Title</a>
tal:content="item/title"
i18n:translate="">Link Title</a>
</li>
</ul>
<ul class="toolbar-right-actions">
Expand All @@ -54,10 +57,12 @@
tal:attributes="
href item/action;
target item/link_target|nothing;">
<span tal:content="item/title">Link Title</span>
<span tal:content="item/title"
i18n:translate="">Link Title</span>
<span tal:condition="python:'extra' in item and 'stateTitle' in item['extra']"
tal:attributes="class item/extra/class"
tal:content="item/extra/stateTitle">Private</span>
tal:content="item/extra/stateTitle"
i18n:translate="">Private</span>
</a>
<ul class="toolbar-dropdown-menu">
<li tal:repeat="subitem item/submenu"
Expand All @@ -69,7 +74,8 @@
<img src="#" alt="icon"
tal:condition="subitem/icon|nothing"
tal:attributes="src subitem/icon" />
<span tal:content="subitem/title">Link Title</span>
<span tal:content="subitem/title"
i18n:translate="">Link Title</span>
</a>
</li>
</ul>
Expand All @@ -80,7 +86,5 @@
</div>
</div>



</body>
</html>

0 comments on commit 84f3a76

Please sign in to comment.