{% load i18n %}{% load has_perm_to from creme_core_tags %}{% has_perm_to link object as link_perm %}
{% if button.is_allowed and link_perm %}
{% else %}
{% endif %}
{% comment %}
{% load i18n %}{% load has_perm_to from creme_core_tags %}{% has_perm_to link object as link_perm %}
{% if has_perm and link_perm %}
{% else %}
{% endif %}
{% endcomment %}