{% extends 'creme_core/generics/view_entity.html' %} {% load i18n creme_ctype creme_perms creme_query %} {% block global_buttons_container %} {% with opp_ctype='OPPORTUNITIES_OPPORTUNITY_MODEL'|ctype_for_swappable %} {% if user|has_perm_to_list:opp_ctype %}{% query_entities_count ctype=opp_ctype user=user as opportunities_count %}
{% translate 'Commercial' %} / {% translate 'List of' context 'opportunities-breadcrumbs' %} {% blocktranslate count count=opportunities_count %}{{count}} opportunity{% plural %}{{count}} opportunities{% endblocktranslate %}
{% endif %} {% endwith %} {% endblock %}