1 {% extends
"base.html" %}
4 {% import phonenumbers %}
7 <div class=
"card-body">
10 <a class=
"btn btn-dark btn-block" href=
"mailto:{{ account.email }}">
11 {{ _(
"Email %s") % account.first_name }}
17 {% if account.address %}
18 <div class=
"col-md-6 mt-5">
19 <h6>{{ _(
"Postal Address") }}
</h6>
22 <strong>{{ account.name }}
</strong>
24 {% for line in account.address %}
31 <div class=
"col-md-6 mt-5">
32 {% if account.phone_number or account.fax_number %}
33 <h6 class=
"mb-2">{{ _(
"Phone Numbers") }}
</h6>
35 <ul class=
"list-unstyled">
36 {% if account.phone_number %}
38 <span class=
"fas fa-phone"></span>
40 <a href=
"tel:{{ format_phone_number_to_e164(account.phone_number) }}">
41 {{ format_phone_number(account.phone_number) }}
46 {% if account.fax_number %}
48 <span class=
"fas fa-fax"></span>
50 <a href=
"fax:{{ format_phone_number_to_e164(account.fax_number) }}">
51 {{ format_phone_number(account.fax_number) }}
58 {% if account.phone_numbers %}
59 <h6 class=
"mb-2">{{ _(
"External Phone Numbers") }}
</h6>
61 <ul class=
"list-unstyled">
62 {% for number in account.phone_numbers %}
64 {% if phonenumbers.number_type(number) == phonenumbers.PhoneNumberType.MOBILE %}
65 <span class=
"fas fa-mobile" title=
"{{ _("Mobile
") }}"></span>
67 <span class=
"fas fa-phone"></span>
70 <a href=
"tel:{{ format_phone_number_to_e164(number) }}"
71 title=
"{{ format_phone_number_location(number) }}">{{ format_phone_number(number) }}
</a>