{% if cdr %} {% for c in cdr %} {% end %}
{{ _("Duration") }}
{% if c.direction == "inbound" %} {% if c.callee %} {{ c.callee }} {% else %} {{ format_phone_number(c.callee_number) }} {% end %} {% elif c.direction == "outbound" %} {% if c.caller %} {{ c.caller }} {% else %} {{ format_phone_number(c.caller_number) }} {% end %} {% end %}
{% module MOS(c) %}
{{ locale.format_date(c.time_start, relative=False) }}
{% if c.time_answered %} {{ format_time(c.duration) }} {% else %} {{ _("Not Answered") }} {% end %}
{% else %}

{{ _("There are no calls") }}

{% end %}