{%- for action_items in module.get_grouped_actions().values() %}
{%- for item in action_items %}
{{ item.render() }}
{%- endfor %}
{%- endfor %}
{%- set EXCEL_ACTIONS = module.excel_export_actions %}
{%- set EXCEL_SUPPORT_IMPORT = module.EXCEL_IMPORT_EXPORT and g.is_manager %}
{%- if EXCEL_ACTIONS or EXCEL_SUPPORT_IMPORT or module.export_to_xls %}
{%- set BUTTON_CLASS = '' %}
Excel
{%- else %}
{%- set BUTTON_CLASS = ' btn btn-default' %}
{%- endif %}
{%- if module.export_to_xls %}
{{ _("Export to Excel") }}
{%- endif %}
{%- if EXCEL_ACTIONS or EXCEL_SUPPORT_IMPORT %}