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>
43 {% if account.sip_id and account.email %}
47 {% if account.email %}
48 <ul class=
"list-unstyled">
50 <span class=
"glyphicon glyphicon-envelope" title=
"{{ _("Email
") }}"></span>
51 <a href=
"mailto:{{ account.email }}">{{ account.email }}
</a>
54 <span class=
"glyphicon glyphicon-comment" title=
"{{ _("XMPP
") }}"></span>
55 <a href=
"xmpp:{{ account.email }}">{{ account.email }}
</a>
60 <div class=
"col-md-3">
61 <h4>{{ _(
"Postal Address") }}
</h4>
63 <strong>{{ account.name }}
</strong><br>
64 {% for line in account.address.splitlines() %}
69 {% if account.telephone_numbers %}
70 <h4>{{ _(
"Telephone") }}
</h4>
72 <ul class=
"list-unstyled">
73 {% for number in account.telephone_numbers %}
75 <a href=
"tel:{{ number }}">{{ number }}
</a>
84 {% if current_user.is_admin() and account.uses_sip_forwarding() %}
85 <div class=
"alert alert-info" role=
"alert">
86 {{ _(
"All calls are forwarded to:") }}
87 <a href=
"sip:{{ account.sip_routing_url }}">{{ account.sip_routing_url }}
</a>
92 <h3>{{ _(
"Lines") }}
</h3>
94 <table class=
"table table-condensed table-hover table-striped">
97 <th>{{ _(
"Expires") }}
</th>
98 <th>{{ _(
"Location") }}
</th>
99 <th>{{ _(
"User Agent") }}
</th>
103 {% for line in lines %}
105 <td>{{ locale.format_date(line.expires) }}
</td>
107 {% if line.tls_enabled %}
108 <span class=
"glyphicon glyphicon-lock" title=
"{{ _("TLS
") }}"></span>
112 <td>{{ line.user_agent }}
</td>
119 {% if ongoing_calls %}
120 <h3>{{ _(
"Ongoing Calls") }}
</h3>
121 {% module TalkOngoingCalls(ongoing_calls) %}
125 <h3>{{ _(
"Call Log") }}
</h3>
126 {% module TalkCallLog(call_log) %}