[Erp5-report] r9280 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplate...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Aug 21 15:40:13 CEST 2006
Author: kevin
Date: Mon Aug 21 15:40:04 2006
New Revision: 9280
URL: http://svn.erp5.org?rev=9280&view=rev
Log:
Include support for editable_mode parameter in main_template.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/description
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/main_template.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml?rev=9280&r1=9279&r2=9280&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/main_template.xml Mon Aug 21 15:40:04 2006
@@ -45,6 +45,12 @@
</value>
</item>
<item>
+ <key> <string>_owner</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
@@ -73,19 +79,31 @@
\n
IDEAS:\n
- Add callbacks to ERP5Form object (selection ?) to gather needed fields -> put them in http_parameter_list.\n
+\n
+MISSING:\n
+ (jp) - Support for layout through page template (without form)\n
+ (jp) - hidden parameters (where should they be defined ?) - see layout form\n
-->\n
</tal:block>\n
<tal:block metal:define-macro="master">\n
- <tal:block tal:define="ignore_layout request/ignore_layout | nothing;\n
- layout_form_id here/getApplicableLayout | nothing;\n
- layout_form python: layout_form_id and getattr(here, layout_form_id, None) or None;\n
- page_template python:(layout_form and not(ignore_layout)) and getattr(layout_form, \'pt\', None) or \'template_erp5_xhtml_style\';">\n
+ <tal:block tal:define="ignore_layout request/ignore_layout | nothing;\n
+ layout_form_id here/getApplicableLayout | nothing;\n
+ editable_mode python: layout_form_id and request.get(\'editable_mode\', ignore_layout) or 1;\n
+ dummy python: request.set(\'editable_mode\', editable_mode);\n
+ layout_form python: layout_form_id and getattr(here, layout_form_id, None) or None;\n
+ page_template python: (layout_form and not(ignore_layout)) and getattr(layout_form, \'pt\', None) or \'template_erp5_xhtml_style\';">\n
+\n
+<!--\n
+# editable_mode python: layout_form_id and request.get(\'editable_mode\', ignore_layout) or 0;\n
+# dummy python: request.set(\'editable_mode\', editable_mode);-->\n
+\n
+\n
<tal:block metal:use-macro="python: getattr(here, page_template).macros[\'master\']">\n
<tal:block metal:fill-slot="context_bar">\n
- <tal:block metal:define-slot="context_bar" />\n
+ <tal:block metal:define-slot="context_bar"/>\n
</tal:block>\n
<tal:block metal:fill-slot="main">\n
- <tal:block metal:define-slot="main" />\n
+ <tal:block metal:define-slot="main"/>\n
</tal:block>\n
</tal:block>\n
</tal:block>\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=9280&r1=9279&r2=9280&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 Mon Aug 21 15:40:04 2006
@@ -1,3 +1,6 @@
+2006-08-21 Kevin
+* Include support for editable_mode parameter in main_template.
+
2006-08-21 Chris
* Made form_render code a lot lighter with same final result using a loop
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/description
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/description?rev=9280&r1=9279&r2=9280&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/description (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/description Mon Aug 21 15:40:04 2006
@@ -1,2 +1,3 @@
This style is a rewrite of erp5_html_style more CSS and semantic html oriented.
+
Handles page parameters dynamically.
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=9280&r1=9279&r2=9280&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Aug 21 15:40:04 2006
@@ -1,1 +1,1 @@
-85
+88
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=9280&r1=9279&r2=9280&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version Mon Aug 21 15:40:04 2006
@@ -1,1 +1,1 @@
-1.2
+1.2.1
More information about the Erp5-report
mailing list