Author: jmorliaguet
Date: Sun Mar 19 19:49:33 2006
New Revision: 2669

Modified:
   cpsskins/branches/jmo-perspectives/ui/panels/settings.pt
   cpsskins/branches/jmo-perspectives/ui/panels/settings_section.pt
Log:

- UI updates



Modified: cpsskins/branches/jmo-perspectives/ui/panels/settings.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/panels/settings.pt    (original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/settings.pt    Sun Mar 19 
19:49:33 2006
@@ -7,7 +7,8 @@
         <img class="icon"
              src="/++skin++cpsskins/@@/++resource++settings-48.png" />
         <ul>
-          <li><a class="section">perspective</a></li>
+          <li><a class="section" 
href="javascript:CPSSkins.getModelById('settings-section').setData({'url': 
'@@settings-section.html?section=perspective'})">perspective</a></li>
+          <li><a class="section" 
href="javascript:CPSSkins.getModelById('settings-section').setData({'url': 
'@@settings-section.html?section=style'})">style</a></li>
         </ul>
         <br style="clear:both"/>
       </div>
@@ -17,7 +18,7 @@
       <ins class="model">
       {"id": "settings-section",
        "data": {
-         "url": "@@settings-section.html?section=perspective"
+         "url": "@@settings-section.html"
       }}
       </ins>
 

Modified: cpsskins/branches/jmo-perspectives/ui/panels/settings_section.pt
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/panels/settings_section.pt    
(original)
+++ cpsskins/branches/jmo-perspectives/ui/panels/settings_section.pt    Sun Mar 
19 19:49:33 2006
@@ -1,7 +1,7 @@
-<tal:block define="subsection string:perspective">
-  <div class="sections">
+<div class="sections" tal:define="section request/form/section|nothing">
+  <div tal:condition="section">
     <ul tal:define="setting_info context/@@getSettingInfo">
-      <li tal:repeat="info setting_info/?subsection|nothing">
+      <li tal:repeat="info setting_info/?section|nothing">
         <tal:block content="info/setting/title" />
         <tal:block define="name info/name;
                            readonly info/readonly;
@@ -20,4 +20,7 @@
       </li>
     </ul>
   </div>
-</tal:block>
+  <div tal:condition="not:section">
+    No settings.
+  </div>
+</div>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to