Commit 8969d190 authored by Ivan Tyagov's avatar Ivan Tyagov

Assign CSS class to listbox title being it a non link.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38166 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a50c87d5
......@@ -152,16 +152,19 @@
\n
<!-- Listbox title -->\n
<div class="listbox-title"\n
metal:define-macro="listbox_title">\n
metal:define-macro="listbox_title"\n
tal:define="class string:${field_id}_title;">\n
\n
<a tal:condition="show_list_action_link"\n
tal:attributes="class string:${field_id}_title; \n
href here/getListActionUrl">\n
tal:attributes="class class; \n
href here/getListActionUrl">\n
<span i18n:translate="" \n
i18n:domain="ui" tal:content="here/getTitle" /></a>\n
<tal:block tal:condition="not: show_list_action_link">\n
<span i18n:translate="" \n
i18n:domain="ui" tal:content="here/getTitle" />\n
i18n:domain="ui"\n
tal:attributes="class class"\n
tal:content="here/getTitle" />\n
</tal:block>\n
<tal:block tal:condition="not: is_web_mode">:</tal:block>\n
\n
......
988
\ No newline at end of file
990
\ 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