1 {% extends
"base.html" %}
3 {% block title %}{{ account }} - {{ _(
"Call") }}{% end block %}
7 <div class=
"card-body">
8 <h4 class=
"card-title mb-1">
9 {% if call.direction ==
"inbound" %}
13 <a href=
"/users/{{ call.callee.uid }}">{{ call.callee }}
</a>
15 {{ format_phone_number(call.callee_number) }}
17 {% elif call.direction ==
"outbound" %}
21 <a href=
"/users/{{ call.caller.uid }}">{{ call.caller }}
</a>
23 {{ format_phone_number(call.caller_number) }}
27 <h6 class=
"card-subtitle text-muted mb-4">{{ locale.format_date(call.time_answered or call.time_start) }}
</h6>
29 <h3 class=
"text-center my-5">
30 {% if call.duration %}
31 {{ format_time(call.duration) }}
33 {{ _(
"Not Answered") }}
37 <h6>{{ _(
"Media Information") }}
</h6>
40 {% for c in (call, call.bleg) %}
43 <div class=
"card card-body bg-light">
54 <p class=
"text-center">
59 <dt class=
"col-sm-6">{{ _(
"Codec") }}
</dt>
60 <dd class=
"col-sm-6">{{ c.codec or _(
"N/A") }}
</dd>
62 <dt class=
"col-sm-6">{{ _(
"Data Transferred") }}
</dt>
63 <dd class=
"col-sm-6">{{ format_size(c.size) }}
</dd>
65 <dt class=
"col-sm-6">{{ _(
"User Agent") }}
</dt>
66 <dd class=
"col-sm-6">{{ c.user_agent or _(
"N/A") }}
</dd>