Author: jmorliaguet
Date: Sat Nov 19 11:31:18 2005
New Revision: 1895

Modified:
   cpsskins/branches/jmo-perspectives/browser/editing/presentation_editor.pt
Log:

- UI simplifications



Modified: 
cpsskins/branches/jmo-perspectives/browser/editing/presentation_editor.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/browser/editing/presentation_editor.pt   
(original)
+++ cpsskins/branches/jmo-perspectives/browser/editing/presentation_editor.pt   
Sat Nov 19 11:31:18 2005
@@ -38,24 +38,20 @@
                                             
presentations[current_perspective]['formats'] or []"
                 tal:attributes="class python: even and 'even' or nothing">
 
-              <td tal:content="perspective/title|string:default" />
+              <td tal:attributes="class python:perspective_is_current and 
'effective' or nothing"
+                  tal:content="perspective/title|nothing" />
 
               <!-- Display -->
               <td>
                 <tal:block condition="perspective">
-                  <a title="Customize presentation"
+                  <a title="Create a presentation"
                      tal:condition="not:display"
                      tal:attributes="href 
string:@@clonePresentation?perspective=$perspective_name">
-                    <img src="/++skin++cpsskins/@@/add-16.png" />
-                  </a>
+                    create</a>
                   <a tal:condition="display"
-                     title="Remove customized presentation" onclick="return 
window.confirm('Are you sure?')"
+                     title="Delete presentation" onclick="return 
window.confirm('Are you sure?')"
                      tal:attributes="href 
string:@@removePresentation?perspective=$perspective_name">
-                    <img src="/++skin++cpsskins/@@/remove-16.png" />
-                  </a>
-                </tal:block>
-                <tal:block condition="not:perspective">
-                  <img src="/++skin++cpsskins/@@/checked-disabled-16.png" />
+                    delete</a>
                 </tal:block>
               </td>
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to