[Erp5-report] r9889 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplate...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 13 17:47:03 CEST 2006


Author: kevin
Date: Wed Sep 13 17:46:55 2006
New Revision: 9889

URL: http://svn.erp5.org?rev=9889&view=rev
Log:
Split context macro in more macros.
Reduce tag soupness.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml?rev=9889&r1=9888&r2=9889&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml Wed Sep 13 17:46:55 2006
@@ -80,25 +80,28 @@
 XXX: Folder_filter accesses selection directly\n
 -->\n
 </tal:block>\n
+\n
+\n
 <tal:block metal:define-macro="master">\n
-  <span id="jump">\n
+\n
+  <span id="jump" metal:define-macro="jump">\n
     <select name="select_jump"\n
             tal:attributes="onChange string:submitAction(this.form,\'${url}/Base_doJump\')">\n
       <option selected="selected" value=""\n
               i18n:translate="" i18n:domain="ui">Jump...</option>\n
       <tal:block tal:repeat="jump actions/object_jump | nothing">\n
         <option tal:attributes="value jump/url"\n
-                tal:content="jump/name"></option>\n
+                tal:content="jump/name"/>\n
       </tal:block>\n
       <tal:block tal:condition="python: here.getPortalTypeName() in here.portal_types.objectIds() and here.portal_types.getTypeInfo(here).Base_getSourceVisibility()">\n
         <option tal:attributes="value python: \'%s/manage_workspace\' % (here.portal_types.getTypeInfo(here).absolute_url(),)"\n
                 tal:content="python: \'Edit Portal Type \\\'%s\\\'\' % (here.getPortalTypeName(),)"\n
-                i18n:translate="" i18n:domain="ui"></option>\n
+                i18n:translate="" i18n:domain="ui"/>\n
       </tal:block>\n
       <tal:block tal:condition="here/portal_workflow/Base_getSourceVisibility">\n
         <option value="1" disabled="disabled" i18n:translate="" i18n:domain="ui">-- Workflows --</option>\n
         <tal:block tal:repeat="workflow python: here.portal_workflow.getWorkflowsFor(here)">\n
-          <option tal:attributes="value python: \'%s/manage_properties\' % (workflow.absolute_url(), )" tal:content="workflow/title"></option>\n
+          <option tal:attributes="value python: \'%s/manage_properties\' % (workflow.absolute_url(), )" tal:content="workflow/title"/>\n
         </tal:block>\n
       </tal:block>\n
     </select>\n
@@ -109,8 +112,11 @@
             i18n:translate="" i18n:domain="ui">Jump</span>\n
     </button>\n
   </span>\n
+\n
   <span class="separator"></span>\n
-  <span id="action">\n
+\n
+\n
+  <span id="action" metal:define-macro="action">\n
     <select name="select_action"\n
             tal:attributes="onChange string:submitAction(this.form,\'${url}/Base_doAction\')"\n
             tal:define="document_template_list here/getDocumentTemplateList | nothing">\n
@@ -121,7 +127,7 @@
           <option tal:attributes="value python: \'add \' + content.getId()"\n
                   i18n:translate="" i18n:domain="ui">\n
             Add <tal:block tal:content="content/Title"\n
-                            i18n:name="portal_type" i18n:translate="" i18n:domain="ui"></tal:block>\n
+                            i18n:name="portal_type" i18n:translate="" i18n:domain="ui"/>\n
           </option>\n
         </tal:block>\n
       </tal:block>\n
@@ -131,7 +137,7 @@
           <option tal:attributes="value python:\'template \' + document_template.getRelativeUrl()"\n
                   i18n:translate="" i18n:domain="ui">\n
             Add <tal:block tal:content="document_template/getTitle"\n
-                            i18n:name="document_template"></tal:block>\n
+                            i18n:name="document_template"/>\n
           </option>\n
         </tal:block>\n
       </tal:block>\n
@@ -139,13 +145,13 @@
       <tal:block tal:repeat="action actions/workflow">\n
         <option tal:content="action/name"\n
                 tal:attributes="value python: \'workflow \' + action[\'url\']"\n
-                i18n:translate="" i18n:domain="ui"></option>\n
+                i18n:translate="" i18n:domain="ui"/>\n
       </tal:block>\n
       <option disabled="disabled">-- <tal:block i18n:translate="" i18n:domain="ui">Object</tal:block> --</option>\n
       <tal:block tal:repeat="action actions/object_action | nothing">\n
         <option tal:content="action/name"\n
                 tal:attributes="value python: \'object \' + action[\'url\']"\n
-                i18n:translate="" i18n:domain="ui"></option>\n
+                i18n:translate="" i18n:domain="ui"/>\n
       </tal:block>\n
       <tal:block tal:replace=\'nothing\'>\n
         <!-- XXX folder actions is inherited from CMF, but not used in ERP5 (for now) -->\n
@@ -153,7 +159,7 @@
         <tal:block tal:repeat="action actions/folder">\n
           <option tal:content="action/name"\n
                   tal:attributes="value python: \'folder \' + action[\'url\']"\n
-                  i18n:translate="" i18n:domain="ui"></option>\n
+                  i18n:translate="" i18n:domain="ui"/>\n
         </tal:block>\n
       </tal:block>\n
     </select>\n
@@ -163,7 +169,10 @@
       <span class="description">Action</span>\n
     </button>\n
   </span>\n
-  <span class="tool_buttons">\n
+\n
+\n
+  <span class="tool_buttons" metal:define-macro="tool_buttons">\n
+\n
     <!-- XXX: exchange_actions seems to be bad condition -->\n
     <span class="first"\n
           tal:define="search_actions actions/object_search | nothing;\n
@@ -293,6 +302,7 @@
         </a>\n
       </tal:block>\n
     </span>\n
+\n
     <span class="second">\n
       <a tal:condition="here/portal_preferences/getPreferredHtmlStyleContextualHelp"\n
          class="jump_help" title="Help"\n
@@ -313,8 +323,11 @@
         <span class="description" i18n:translate="" i18n:domain="ui">Activity Pending</span>\n
       </a>\n
     </span>\n
+\n
   </span>\n
+\n
   <p class="clear"></p>\n
+\n
 </tal:block>
 
 ]]></string> </value>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log?rev=9889&r1=9888&r2=9889&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log Wed Sep 13 17:46:55 2006
@@ -1,6 +1,7 @@
 2006-09-13 Kevin
 * Fix developper mode rendering bug.
 * erp5.js is needed in web mode by admin toolbox which display context_box_render.
+* Split context macro in more macros.
 
 2006-09-12 Kevin
 * Refactor login_form screen to match new xhtml style form structure.

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=9889&r1=9888&r2=9889&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Wed Sep 13 17:46:55 2006
@@ -1,1 +1,1 @@
-177
+179

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version?rev=9889&r1=9888&r2=9889&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version Wed Sep 13 17:46:55 2006
@@ -1,1 +1,1 @@
-1.2.28
+1.2.29




More information about the Erp5-report mailing list