1 {% extends
"../base.html" %}
3 {% block title %}{{ account.name }}{% end block %}
6 <div class=
"page-header">
7 <h3>{{ account.name }}
</h3>
12 <div class=
"col-md-3 ac">
13 <img src=
"{{ account.gravatar_icon(243) }}" alt=
"{{ account.name }}"
14 class=
"img-thumbnail">
16 <div class=
"col-md-6 ac">
17 {% if account.sip_id %}
18 <h4>{{ _(
"Voice over IP") }}
</h4>
20 <ul class=
"list-unstyled">
23 {% if account.uses_sip_forwarding() %}
24 <span class=
"glyphicon glyphicon-earphone" title=
"{{ _("calls forwarded
") }}"></span>
25 {% elif account.sip_is_online() %}
26 <span class=
"glyphicon glyphicon-earphone text-success" title=
"{{ _("online
") }}"></span>
27 <a href=
"/call/{{ account.sip_id }}">{{ account.sip_id }}
</a>
29 <span class=
"glyphicon glyphicon-earphone text-danger" title=
"{{ _("offline
") }}"></span>
37 <a href=
"sip:{{ account.sip_url }}">{{ account.sip_url }}
</a>
41 {% if current_user == account or current_user.is_admin() %}
44 {{ _(
"Password") }}: {{ account.sip_password }}
51 {% if account.sip_id and account.email %}
55 {% if account.email %}
56 <ul class=
"list-unstyled">
58 <span class=
"glyphicon glyphicon-envelope" title=
"{{ _("Email
") }}"></span>
59 <a href=
"mailto:{{ account.email }}">{{ account.email }}
</a>
62 <span class=
"glyphicon glyphicon-comment" title=
"{{ _("XMPP
") }}"></span>
63 <a href=
"xmpp:{{ account.email }}">{{ account.email }}
</a>
68 <div class=
"col-md-3">
69 <h4>{{ _(
"Postal Address") }}
</h4>
71 <strong>{{ account.name }}
</strong><br>
72 <a href=
"https://nominatim.openstreetmap.org/search?q={{ ",
".join(account.address.splitlines()) }}" target=
"_blank">
73 {% for line in account.address.splitlines() %}
79 {% if account.telephone_numbers %}
80 <h4>{{ _(
"Telephone") }}
</h4>
82 <ul class=
"list-unstyled">
83 {% for number in account.telephone_numbers %}
85 <a href=
"tel:{{ number }}">{{ number }}
</a>
94 {% if current_user.is_admin() and account.uses_sip_forwarding() %}
95 <div class=
"alert alert-info" role=
"alert">
96 {{ _(
"All calls are forwarded to:") }}
97 <a href=
"sip:{{ account.sip_routing_url }}">{{ account.sip_routing_url }}
</a>
101 {% if current_user == account or current_user.is_admin() %}
102 {% module TalkLines(account) %}
103 {% module TalkOngoingCalls(account) %}
104 {% module TalkCallLog(account) %}