[Erp5-report] r37319 ivan - in /erp5/trunk/bt5/erp5_km: SkinTemplateItem/portal_skins/erp5_...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jul 28 12:54:26 CEST 2010
Author: ivan
Date: Wed Jul 28 12:54:26 2010
New Revision: 37319
URL: http://svn.erp5.org?rev=37319&view=rev
Log:
Indentation & comments. Small condition optimization.
Modified:
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml
erp5/trunk/bt5/erp5_km/bt/revision
Modified: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml?rev=37319&r1=37318&r2=37319&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml [utf8] Wed Jul 28 12:54:26 2010
@@ -200,7 +200,7 @@
i18n:domain="ui" i18n:attributes="title" /> \n
\n
</th>\n
- <!-- Column label row -->\n
+ <!-- Label column row -->\n
<tal:block tal:repeat="value here/getLabelValueList">\n
<tal:block tal:define="sql python: value[0];\n
title python: value[1];\n
@@ -279,29 +279,30 @@
src string:${portal_url_string}/images/exec16.png"\n
i18n:domain="ui" i18n:attributes="title" />\n
</th>\n
+ <!-- Real search columns -->\n
<th tal:repeat="value here/getSearchValueList">\n
- <tal:block tal:define="alias python: value[0];\n
- param python: value[1];\n
- search_field python: value[2]"\n
- tal:condition="alias">\n
- \n
- <tal:block\n
- tal:condition="python: search_field is not None"\n
- tal:replace="structure python: search_field.render(value=param, key=alias)"/>\n
- \n
- <input tal:condition="python: not is_gadget_mode and search_field is None" \n
- name="id" size="5" value=""\n
- type="text" tal:attributes="name alias; value param"/>\n
-\n
+ <tal:block tal:define="alias python: value[0];\n
+ param python: value[1];\n
+ search_field python: value[2]"\n
+ tal:condition="alias">\n
+ <!-- Render search field -->\n
+ <tal:block tal:condition="python: search_field is not None"\n
+ tal:replace="structure python: search_field.render(value=param, key=alias)"/>\n
+\n
+ <tal:block tal:condition="python: search_field is None">\n
+ <input tal:condition="python: not is_gadget_mode" \n
+ name="id" size="5" value=""\n
+ type="text" tal:attributes="name alias; value param"/>\n
<!-- Search for gadget mode -->\n
- <input tal:condition="python: is_gadget_mode and search_field is None" \n
- tal:define ="params python: {alias:\'this.value\'};"\n
- size="8"\n
- type="textarea" \n
- tal:attributes=\'value python: selection.getParams().get(alias,"");\n
- onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,dom_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ <input tal:condition="python: is_gadget_mode" \n
+ tal:define ="params python: {alias:\'this.value\'};"\n
+ size="8"\n
+ type="textarea" \n
+ tal:attributes=\'value python: selection.getParams().get(alias,"");\n
+ onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,dom_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ </tal:block>\n
</tal:block>\n
- </th>\n
+ </th>\n
</tr>\n
</thead>\n
\n
Modified: erp5/trunk/bt5/erp5_km/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/bt/revision?rev=37319&r1=37318&r2=37319&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/bt/revision [utf8] Wed Jul 28 12:54:26 2010
@@ -1 +1 @@
-1495
\ No newline at end of file
+1496
\ No newline at end of file
More information about the Erp5-report
mailing list