[Erp5-report] r26824 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 6 10:35:42 CEST 2009
Author: kazuhiko
Date: Wed May 6 10:35:41 2009
New Revision: 26824
URL: http://svn.erp5.org?rev=26824&view=rev
Log:
propagate the ignore_layout parameter in breadcrumb links.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/breadcrumbs.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/breadcrumbs.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/breadcrumbs.xml?rev=26824&r1=26823&r2=26824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/breadcrumbs.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/breadcrumbs.xml [utf8] Wed May 6 10:35:41 2009
@@ -180,11 +180,11 @@
utool = getToolByName(script, \'portal_url\')\n
portal_url = utool()\n
result = []\n
-\n
+param = int(context.REQUEST.get(\'ignore_layout\', 0)) and \'?ignore_layout:int=1\' or \'\'\n
if include_root:\n
result.append( { \'id\' : \'root\'\n
, \'title\' : ptool.title()\n
- , \'url\' : \'%s/view\' % portal_url\n
+ , \'url\' : \'%s/view%s\' % (portal_url, param)\n
}\n
)\n
\n
@@ -207,7 +207,7 @@
if not name == \'talkback\':\n
result.append( { \'id\' : name\n
, \'title\' : title\n
- , \'url\' : \'%s/%s/view\' % (portal_url, \'/\'.join(now))\n
+ , \'url\' : \'%s/%s/view%s\' % (portal_url, \'/\'.join(now), param)\n
}\n
)\n
module = False\n
@@ -263,8 +263,10 @@
<string>utool</string>
<string>portal_url</string>
<string>result</string>
+ <string>int</string>
<string>_getattr_</string>
<string>context</string>
+ <string>param</string>
<string>relative</string>
<string>portal</string>
<string>obj</string>
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=26824&r1=26823&r2=26824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Wed May 6 10:35:41 2009
@@ -1,1 +1,1 @@
-744
+745
More information about the Erp5-report
mailing list