Author: jmorliaguet
Date: Wed Jun 28 23:11:03 2006
New Revision: 3556

Modified:
   cpsskins/branches/paris-sprint-2006/ui/screens/common/action_pad.pt

Log:
- optimizations



Modified: cpsskins/branches/paris-sprint-2006/ui/screens/common/action_pad.pt
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/screens/common/action_pad.pt 
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/screens/common/action_pad.pt Wed Jun 
28 23:11:03 2006
@@ -1,16 +1,14 @@
-<div class="actionPad">
-
-  <ins class="model" cite="@@getHint?msgid=hint-site-manager"></ins>
+<div class="actionPad"
+ tal:define="hint nocall:context/@@getHint;
+             view nocall:context/@@getView;
+             controller nocall:context/@@getController">
+  <ins class="model" tal:content="python: hint('hint-site-manager')" />
   <a 
href="javascript:CPSSkins.getControllerById('main-editor-perspectives').switchTo('site-manager')">Site
 manager</a>
-
-  <ins class="model" cite="@@getHint?msgid=hint-page-designer"></ins>
+  <ins class="model" tal:content="python: hint('hint-page-designer')" />
   <a 
href="javascript:CPSSkins.getControllerById('main-editor-perspectives').switchTo('page-designer')">Page
 designer</a>
-
-  <ins class="model" cite="@@getHint?msgid=hint-content-author"></ins>
+  <ins class="model" tal:content="python: hint('hint-content-author')" />
   <a 
href="javascript:CPSSkins.getControllerById('main-editor-perspectives').switchTo('content-author')">Content
 author</a>
-
   <!-- tooltip -->
-  <ins class="view" cite="@@getView?id=tooltip"></ins>
-  <ins class="controller" cite="@@getController?id=show-hide-tooltip"></ins>
-
+  <ins class="view" tal:content="python: view('tooltip')"></ins>
+  <ins class="controller" tal:content="python: 
controller('show-hide-tooltip')"></ins>
 </div>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to