1 {% extends
"../base.html" %}
3 {% block title %}{{ account.name }}{% end block %}
6 <div class=
"container">
7 <section class=
"features-content col-12">
8 <h2 class=
"display-2 text-center">{{ account.name }}
</h2>
10 <div class=
"row mb-6">
12 <img src=
"{{ account.gravatar_icon(243) }}" alt=
"{{ account.name }}" class=
"img-thumbnail">
15 {% if account.sip_id %}
16 <h4>{{ _(
"Voice over IP") }}
</h4>
18 <ul class=
"list-unstyled">
21 {% if account.uses_sip_forwarding() %}
22 <i class=
"fa fa-phone" aria-hidden=
"true"></i>
23 <a href=
"/call/{{ account.sip_id }}">{{ account.sip_id }}
</a>
24 {% elif account.sip_is_online() %}
25 <i class=
"fa fa-phone" aria-hidden=
"true"></i>
26 <span class=
"text-success" title=
"{{ _("online
") }}"></span>
27 <a href=
"/call/{{ account.sip_id }}">{{ account.sip_id }}
</a>
29 <i class=
"fa fa-phone" aria-hidden=
"true"></i>
30 <span class=
"text-danger" title=
"{{ _("offline
") }}"></span>
39 <a href=
"sip:{{ account.sip_url }}">{{ account.sip_url }}
</a>
43 {% if account.sip_password and (current_user == account or current_user.is_admin()) %}
46 {{ _(
"Password") }}: {{ account.sip_password }}
53 {% if account.sip_id and account.email %}
57 {% if account.email %}
58 <ul class=
"list-unstyled">
60 <i class=
"fa fa-envelope" aria-hidden=
"true"></i>
61 <span class=
"glyphicon glyphicon-envelope" title=
"{{ _("Email
") }}"></span>
62 <a href=
"mailto:{{ account.email }}">{{ account.email }}
</a>
65 <span class=
"glyphicon glyphicon-comment" title=
"{{ _("XMPP
") }}"></span>
66 <a href=
"xmpp:{{ account.email }}">{{ account.email }}
</a>
73 <h4>{{ _(
"Postal Address") }}
</h4>
75 <strong>{{ account.name }}
</strong><br>
76 <a href=
"https://nominatim.openstreetmap.org/search?q={{ ",
".join(account.address.splitlines()) }}" target=
"_blank">
77 {% for line in account.address.splitlines() %}
83 {% if account.telephone_numbers %}
84 <h4>{{ _(
"Telephone") }}
</h4>
86 <ul class=
"list-unstyled">
87 {% for number in account.telephone_numbers %}
89 {% if number in account.mobile_telephone_numbers %}
90 <span class=
"fa fa-mobile" title=
"{{ _("Mobile phone
") }}"></span>
91 {% elif number in account.home_telephone_numbers %}
92 <span class=
"fa fa-home" title=
"{{ _("Home telephone
") }}"></span>
94 <span class=
"fa fa-phone"></span>
96 <a href=
"tel:{{ number }}">{{ number }}
</a>
106 {% if current_user.is_admin() and account.uses_sip_forwarding() %}
107 <div class=
"alert alert-info" role=
"alert">
108 {{ _(
"All calls are forwarded to:") }}
109 <a href=
"sip:{{ account.sip_routing_url }}">{{ account.sip_routing_url }}
</a>
113 {% if current_user == account or current_user.is_admin() %}
114 {% module TalkLines(account) %}
115 {% module TalkOngoingCalls(account) %}
116 {% module TalkCallLog(account) %}