{% extends "sanza/_bs_section.html" %} {% load i18n sanza_utils pagination_tags %} {% 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_buttons %} {% if contact %}
  • {% trans "Add action" %}
  • {% else %} {% if entity %}
  • {% trans "Add action" %}
  • {% else %} {% if opportunity %}
  • {% trans "Add action" %}
  • {% else %}
  • {% trans "Add action" %}
  • {% endif %} {% endif %} {% endif %} {% endblock %}