{% load i18n creme_core_tags mobile_tags %}{% has_perm_to view orga as view_perm %} {% if view_perm %} {% mobile_prepare_fields orga 'billing_address' 'phone' %} {% with address=orga.billing_address %}{% with has_address=address|bool %}
{% translate 'organisation' %} {% if has_address %} {{orga}} {% else %} {{orga}} {% endif %}
{% with phone=orga.phone %} {% if phone %}
{% translate 'phone' %} {{phone}}
{% endif %} {% endwith %} {% if has_address %}
{% translate 'address' %} {{address|linebreaksbr}}
{% endif %}
{% endwith %}{% endwith %} {% else %}
{% translate 'organisation' %} ??
{% endif %}