{% load i18n %} {% with type_id=action_type.id|default:0 %} {% if contact %}
  • {% if action_type %}{{ action_type.name }}{% else %}{% trans "Action" %}{% endif %}
  • {% else %} {% if entity %}
  • {% if action_type %}{{ action_type.name }}{% else %}{% trans "Action" %}{% endif %}
  • {% else %} {% if opportunity %}
  • {% if action_type %}{{ action_type.name }}{% else %}{% trans "Action" %}{% endif %}
  • {% else %}
  • {% if action_type %}{{ action_type.name }}{% else %}{% trans "Action" %}{% endif %}
  • {% endif %} {% endif %} {% endif %} {% endwith %}