[Erp5-report] r15912 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Aug 29 15:40:34 CEST 2007


Author: yusei
Date: Wed Aug 29 15:40:33 2007
New Revision: 15912

URL: http://svn.erp5.org?rev=15912&view=rev
Log:
2007-08-29 Yusei
* Add module_view action in context box.

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

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=15912&r1=15911&r2=15912&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 Aug 29 15:40:33 2007
@@ -158,6 +158,15 @@
                 tal:attributes="value python: \'object %s\' % (action[\'url\'], )"\n
                 i18n:translate="" i18n:domain="ui"/>\n
       </tal:block>\n
+      <tal:block tal:define="object_view_list actions/object_view|nothing;\n
+                             module_view_list python:[i for i in object_view_list if i[\'id\']==\'module_view\']"\n
+                 tal:condition="module_view_list">\n
+        <tal:block tal:repeat="action module_view_list">\n
+        <option tal:content="action/name"\n
+                tal:attributes="value python: \'object %s\' % (action[\'url\'],)"\n
+                i18n:translate="" i18n:domain="ui"/>\n
+        </tal:block>\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
         <option disabled="disabled">-- <tal:block i18n:translate="" i18n:domain="ui">folder</tal:block> --</option>\n

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=15912&r1=15911&r2=15912&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 Aug 29 15:40:33 2007
@@ -1,5 +1,11 @@
+2007-08-29 Yusei
+* Add module_view action in context box.
+
 2007-08-29 Rafael
 * Updated Planning Box related stuff
+
+2007-08-18 yo
+* ERP5Site does not have getPortalType, so avoid calling getPortalType if not present.
 
 2007-07-02 Yusei
 * Fixed a invalid xhtml template.

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=15912&r1=15911&r2=15912&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Wed Aug 29 15:40:33 2007
@@ -1,1 +1,1 @@
-421
+431




More information about the Erp5-report mailing list