[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - template.pt:1.2
Jim Fulton
jim@zope.com
Thu, 26 Dec 2002 16:33:45 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv9627
Modified Files:
template.pt
Log Message:
Added an actions box.
Removed sample text from the common tasks.
I wish I understood the common task intent better.
=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.1 Thu Dec 26 15:20:48 2002
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt Thu Dec 26 16:33:45 2002
@@ -72,25 +72,38 @@
</div>
- <div class="box" id="commonTasks">
+ <div class="box"
+ id="Actions"
+ tal:define="actions context/@@view_get_menu/zmi_actions"
+ tal:condition="actions"
+ >
- <h3>Common Tasks</h3>
+ <h3>Actions</h3>
<div class="body">
- <div class="content odd">
- testing testing
- </div>
+ <a href="#"
+ tal:attributes="href info/action"
+ tal:repeat="info actions"
+ >
+ <div tal:attributes="value info/id|default"
+ tal:content="info/title">Do something
+ </div>
+ </a>
- <metal:block define-slot="commonTasks">
+ </div>
- </metal:block>
+ </div>
- <div class="content even">
+ <div class="box" id="commonTasks">
- and some more
+ <h3>Common Tasks</h3>
- </div>
+ <div class="body">
+
+ <metal:block define-slot="commonTasks">
+
+ </metal:block>
</div>