Commit 64a67f09 authored by Fabien Morin's avatar Fabien Morin

define website variable only in webmode

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26171 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3349a41
......@@ -225,11 +225,11 @@ tal:define=" listbox_max_lines python: int(here.getMaxLineNumber());\n
</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
......
675
\ No newline at end of file
676
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment