Commit 426a4fbd authored by Fabien Morin's avatar Fabien Morin

the condition was bad : display links only if there is a list action. If there...

the condition was bad : display links only if there is a list action. If there is no list action, text is displayed but witout the <a> markup.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26155 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aa2d24eb
...@@ -164,11 +164,11 @@ tal:define=" listbox_max_lines python: int(here.getMaxLineNumber());\n ...@@ -164,11 +164,11 @@ tal:define=" listbox_max_lines python: int(here.getMaxLineNumber());\n
</button>\n </button>\n
\n \n
<a tal:attributes="id string:${field_id}_title; href here/getListActionUrl"\n <a tal:attributes="id string:${field_id}_title; href here/getListActionUrl"\n
tal:condition="python: here.field.get_value(\'list_action\') != \'list\'">\n tal:condition="python: here.field.get_value(\'list_action\')">\n
<em i18n:translate="" \n <em i18n:translate="" \n
i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n
</a>\n </a>\n
<tal:block tal:condition="python: here.field.get_value(\'list_action\') == \'list\'">\n <tal:block tal:condition="python: not here.field.get_value(\'list_action\')">\n
<em i18n:translate="" \n <em i18n:translate="" \n
i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n
</tal:block>\n </tal:block>\n
......
671 672
\ No newline at end of file \ 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