Commit b1c77540 authored by Boris Kocherov's avatar Boris Kocherov Committed by Boris Kocherov

erp5_xhtml_style: fix generation context_box while ui_actions empty

parent b2754e8f
...@@ -308,6 +308,7 @@ ...@@ -308,6 +308,7 @@
</li> </li>
<li class="btn-group pull-right" tal:condition="list_mode"> <li class="btn-group pull-right" tal:condition="list_mode">
<a class="configure btn btn-default" title="Configure" <a class="configure btn btn-default" title="Configure"
tal:condition="ui_actions"
tal:attributes="href python: portal.ERP5Site_renderCustomLink(ui_actions[0]['url'], http_parameter_list, dialog_category='object_ui')" tal:attributes="href python: portal.ERP5Site_renderCustomLink(ui_actions[0]['url'], http_parameter_list, dialog_category='object_ui')"
i18n:attributes="title" i18n:domain="ui"> i18n:attributes="title" i18n:domain="ui">
<i class="fa fa-wrench fa-lg"></i> <i class="fa fa-wrench fa-lg"></i>
......
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