diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml index 5ea928b1dcea82b1cdecbc5b6755f1f5ff619037..2a265967157322d7b7d679cce7dec02ed71c18fa 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml @@ -179,9 +179,15 @@ </td>\n <td style="width: 100%; vertical-align: middle">\n \n - <a id="listbox_title" href="list" class="listbox_title"\n - tal:attributes="id string:${field_id}_title; href here/getListActionUrl">\n - <tal:block tal:content="here/getTitle" i18n:domain="ui" i18n:translate=""/>:</a>\n + <a tal:attributes="id string:${field_id}_title; href here/getListActionUrl"\n + tal:condition="python: here.field.get_value(\'list_action\')">\n + <em i18n:translate="" \n + i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n + </a>\n + <tal:block tal:condition="python: not here.field.get_value(\'list_action\')">\n + <em i18n:translate="" \n + i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n + </tal:block>\n <span id="listbox_record_number" class="listbox_record_number"\n tal:attributes="id string:${field_id}_record_number"\n i18n:translate="" i18n:domain="ui"><tal:block tal:replace="here/total_size" i18n:name="number">0</tal:block> record(s)</span>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml index 93b94b8b0fede7badcc37e9c3a396dd445ecb186..c61cd530bbf59cbef199ac105c3f811f870ac901 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml @@ -147,10 +147,15 @@ alt="Search mode"\n src="erp5/images/table_style_icon.png"\n height="16"/></button>\n -\n - <a tal:attributes="id string:${field_id}_title; href here/getListActionUrl">\n - <em i18n:domain="ui" i18n:translate="" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n + <a tal:attributes="id string:${field_id}_title; href here/getListActionUrl"\n + tal:condition="python: here.field.get_value(\'list_action\')">\n + <em i18n:translate="" \n + i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n </a>\n + <tal:block tal:condition="python: not here.field.get_value(\'list_action\')">\n + <em i18n:translate="" \n + i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n + </tal:block>\n <!-- supporting domain tree mode for gadget mode (disabled)-->\n <!--\n <br tal:condition="is_gadget_mode"/>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index f4283ff317d6bbc808b2394e4435abc742eec8bd..dd9de55003996a93508b35e10097f762d422e3cf 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -676 \ No newline at end of file +677 \ No newline at end of file