[Erp5-report] r15363 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jul 27 15:20:08 CEST 2007
Author: jerome
Date: Fri Jul 27 15:20:07 2007
New Revision: 15363
URL: http://svn.erp5.org?rev=15363&view=rev
Log:
In view mode, if form does not exists uses template/title_or_id as form_id. This is required to use a custom page template instead of a form, like BusinessTemplate_viewSvnStatus does.
Added:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/comment
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml
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/view_main.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml?rev=15363&r1=15362&r2=15363&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml Fri Jul 27 15:20:07 2007
@@ -83,7 +83,7 @@
tal:define="object_uid here/getUid | nothing;\n
object_path here/getPath | nothing;\n
form nocall: form | nothing;\n
- form_id form/id | nothing;\n
+ form_id form/id | template/title_or_id | nothing;\n
form_action python: form and form.action not in (\'\', None) and here.portal_membership.checkPermission(\'Modify portal content\', here) and form.action or nothing;\n
local_parameter_list local_parameter_list | python: {};\n
dummy python: local_parameter_list.update({\'object_uid\': object_uid, \'object_path\': object_path, \'form_id\': form_id});\n
Added: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/comment
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/comment?rev=15363&view=auto
==============================================================================
(empty)
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=15363&r1=15362&r2=15363&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Fri Jul 27 15:20:07 2007
@@ -1,1 +1,1 @@
-402
+403
More information about the Erp5-report
mailing list