[Erp5-report] r6894 - /erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 24 14:46:46 CEST 2006
Author: vincent
Date: Mon Apr 24 14:46:45 2006
New Revision: 6894
URL: http://svn.erp5.org?rev=6894&view=rev
Log:
Add developper button in field_render.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml?rev=6894&r1=6893&r2=6894&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml Mon Apr 24 14:46:45 2006
@@ -59,17 +59,20 @@
<tal:block tal:define="html_render python: field.render_htmlgrid(value, request)">\n
<tal:block tal:condition="python:field.meta_type != \'HiddenStringField\'">\n
<tal:repeat repeat="html_tuple html_render">\n
- <tr>\n
+ <tr tal:attributes="title python: context.Base_getFieldDescription(field)" i18n:translate="title" i18n:domain="ui">\n
<td tal:content="structure python: html_tuple[0]"\n
tal:attributes="class python: \n
{0: {0: None, 1: \'required\'},\n
1: {0: \'error\', 1: \'reqerror\'}}[field_errors.has_key(field.id)][field.is_required()]"\n
- i18n:translate="" i18n:domain="ui" />\n
+ i18n:translate="" i18n:domain="ui">\n
+ </td>\n
+ <td>\n
+ <tal:block metal:use-macro="context/form_developper_buttons/macros/field"/>\n
+ </td>\n
<td>\n
<tal:block tal:replace="structure python: html_tuple[1]" />\n
</td>\n
</tr>\n
- \n
</tal:repeat>\n
</tal:block>\n
<tr tal:condition="python: field_errors.has_key(field.id)">\n
More information about the Erp5-report
mailing list