1 {% extends
"base.html" %}
3 {% block title %}{{ account }} - {{ _(
"Calls") }}{% end block %}
6 <h1>{{ _(
"Calls") }}
</h1>
8 {% module Channels(current_user) %}
11 <div class=
"card-body">
13 <ul class=
"pagination justify-content-center">
14 {% set yesterday = date - datetime.timedelta(days=
1) %}
15 {% set tomorrow = date + datetime.timedelta(days=
1) %}
17 <li class=
"page-item">
18 <a class=
"page-link" href=
"/users/{{ account.uid }}/calls/{{ yesterday }}">
19 « {{ locale.format_day(yesterday) }}
23 <li class=
"page-item active">
24 <a class=
"page-link" href=
"/users/{{ account.uid }}/calls/{{ date }}" tabindex=
"-1">
25 {{ locale.format_day(date) }}
29 <li class=
"page-item {% if tomorrow > now %}disabled{% end %}">
30 <a class=
"page-link" href=
"/users/{{ account.uid }}/calls/{{ tomorrow }}">
31 {{ locale.format_day(tomorrow) }}
»
37 {% module CDR(account, date=date) %}