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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 26 15:34:57 CET 2009


Author: fabien
Date: Thu Mar 26 15:34:56 2009
New Revision: 26171

URL: http://svn.erp5.org?rev=26171&view=rev
Log:
define website variable only in webmode

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.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/ListBox_asSearchStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml?rev=26171&r1=26170&r2=26171&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] Thu Mar 26 15:34:56 2009
@@ -225,11 +225,11 @@
             </div>\n
 \n
             <!-- Found results -->\n
-            <table cellpadding="0" cellspacing="0" class="documentList"\n
-                   tal:define="website python: getattr(real_context,\n
-                   \'getWebSiteValue\', None) and real_context.getWebSiteValue()\n
-                   or None">\n
-\n
+            <tal:block \n
+            tal:condition="is_web_mode">\n
+              <tal:block tal:define="global website python: real_context.getWebSiteValue()" />\n
+            </tal:block>\n
+            <table cellpadding="0" cellspacing="0" class="documentList">\n
               <tal:block tal:repeat="line line_list">\n
                 <tr tal:define="css python: test(repeat[\'line\'].index % 2, \'even\', \'odd\');\n
                                 obj line/getObject;\n

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=26171&r1=26170&r2=26171&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] Thu Mar 26 15:34:56 2009
@@ -1,1 +1,1 @@
-675
+676




More information about the Erp5-report mailing list