{% extends "balafon/_bs_section.html" %} {% load i18n balafon_utils %} {% block section_title %} {% trans "Actions" %} {% endblock %} {% block section_data %} {% for set_id, set_title, actions, total_count in actions_by_set %}
{% if set_title %}
{{ set_title }}
{% endif %} {% if total_count > actions.count %}
{% trans "Only display the" %} {{actions.count}} {% trans "most recents" %}: {% trans "View all" %}
{% endif %} {% include "Crm/_actions_table.html" %}
{% endfor %} {% endblock %} {% block section_menu_name %} {% trans "Add" %}{% endblock %} {% block section_buttons %} {% if not has_default_Bonaction %} {% include "Crm/_actions_set_menu.html" %} {% endif %} {% for action_type in addable_action_types %} {% include "Crm/_actions_set_menu.html" %} {% endfor %} {% endblock %}