{% extends "base.html" %}{% load i18n crm_tags %} {% block title %}{% translate "Today" %}{% endblock %} {% block topbar %}{{ today|date:"l j F" }}{% if signed_in_at %}. {% blocktranslate trimmed with time=signed_in_at|clock %}Signed in at {{ time }}{% endblocktranslate %}{% endif %}{% endblock %} {% block content %}

{% translate "Who’s calling?" %}

{% translate "Type the number on your phone screen, or a name. If they are new, you can add them in one step." %}

{{ stats.my_calls }}{% translate "Your calls today" %}{% blocktranslate trimmed with n=my_week.n m=my_week.minutes %}This week: {{ n }} calls, {{ m }} min{% endblocktranslate %}
{{ stats.team_calls }}{% translate "Team calls today" %}
{{ stats.prayers_waiting }}{% translate "Prayer requests waiting" %}
{{ stats.overdue }}{% translate "Follow-ups late (team)" %}
{% include "crm/_announcement_notice.html" %} {% if second_place %}
{% if second_place.last_failed %}{% blocktranslate trimmed with reason=second_place.last_failed.note %}The nightly copy to the second place didn’t work: {{ reason }}{% endblocktranslate %}{% else %}{% translate "No copy has reached the second place for more than a day." %}{% endif %} {% translate "Check the backup" %}
{% endif %} {% if backup_due %}
{% translate "No backup has been downloaded in the last 7 days." %} {% translate "Download a backup now" %}
{% endif %} {% if care_waiting %}
{% blocktranslate trimmed count n=care_waiting %}{{ n }} person referred for pastoral care is waiting for a counselor.{% plural %}{{ n }} people referred for pastoral care are waiting for a counselor.{% endblocktranslate %} {% translate "Open pastoral care" %}
{% endif %} {% if care_meetings %}
{% blocktranslate trimmed count n=care_meetings %}You have {{ n }} pastoral care meeting due.{% plural %}You have {{ n }} pastoral care meetings due.{% endblocktranslate %} {% translate "See your cases" %}
{% endif %} {% if my_list_callers %}
{% blocktranslate trimmed count n=my_list_callers %}{{ n }} caller on a call list is waiting for you.{% plural %}{{ n }} callers on call lists are waiting for you.{% endblocktranslate %} {% translate "Open call lists" %}
{% endif %} {% if next_week_unplanned %}
{% translate "Next week’s shifts aren’t planned yet." %} {% translate "Plan next week" %}
{% endif %} {% if shift_info %}
{% if shift_info.on_now %}{% translate "On shift now" %}: {% for p in shift_info.on_now %}{{ p.display_name }}{% if not forloop.last %}, {% endif %}{% endfor %}{% else %}{% translate "No one is on shift right now." %}{% endif %} {% if shift_info.mine_next %}{% with s=shift_info.mine_next %}{% if s.now %}{% blocktranslate trimmed with end=s.end|clock %}You are on shift now, until {{ end }}.{% endblocktranslate %}{% elif s.key == "day" %}{% blocktranslate trimmed with when=s.start|date:"l j M" start=s.start|clock end=s.end|clock %}Your next shift: {{ when }}, day shift {{ start }}–{{ end }}.{% endblocktranslate %}{% else %}{% blocktranslate trimmed with when=s.start|date:"l j M" start=s.start|clock end=s.end|clock %}Your next shift: {{ when }}, night shift {{ start }}–{{ end }}.{% endblocktranslate %}{% endif %}{% endwith %}{% endif %} {% translate "See the rota" %}
{% endif %} {% if calls_overview %}

{% translate "Calls" %}

{% translate "Calls this week" %}{{ calls_overview.week.n }}{% blocktranslate trimmed with r=calls_overview.week.received m=calls_overview.week.made %}{{ r }} received, {{ m }} made{% endblocktranslate %}
{% translate "This month" %}{{ calls_overview.month.n }}{% blocktranslate trimmed with r=calls_overview.month.received m=calls_overview.month.made %}{{ r }} received, {{ m }} made{% endblocktranslate %}
{% translate "This year" %}{{ calls_overview.year.n }}{% blocktranslate trimmed with r=calls_overview.year.received m=calls_overview.year.made %}{{ r }} received, {{ m }} made{% endblocktranslate %}
{% translate "Call time by agent" %}
{% endif %} {% if contributions %}

{% translate "Contributions" %}

{% translate "Contributions this week" %}{{ contributions.week.total|tzs }}{% blocktranslate trimmed count n=contributions.week.n %}{{ n }} contribution{% plural %}{{ n }} contributions{% endblocktranslate %}
{% translate "This month" %}{{ contributions.month.total|tzs }}{% blocktranslate trimmed count n=contributions.month.n %}{{ n }} contribution{% plural %}{{ n }} contributions{% endblocktranslate %}
{% translate "This year" %}{{ contributions.year.total|tzs }}{% blocktranslate trimmed count n=contributions.year.n %}{{ n }} contribution{% plural %}{{ n }} contributions{% endblocktranslate %}
{% translate "Collections by agent" %}
{% endif %} {% if my_tickets %}

{% if user.is_supervisor %}{% translate "Escalated to you" %}{% else %}{% translate "Your open tickets" %}{% endif %}

{% translate "All tickets" %}
{% endif %}

{% translate "Latest calls" %}

{% translate "All contacts" %}
{% if recent_calls %} {% else %}
{% translate "No calls yet." %}{% translate "Find the first caller above and log the call from their page." %}
{% endif %}

{% translate "Your follow-ups" %}

{% translate "See all" %}
{% if my_follow_ups %} {% else %}
{% translate "Nothing due today." %}{% if upcoming %}{% blocktranslate trimmed count n=upcoming %}{{ n }} more planned for later days.{% plural %}{{ n }} more planned for later days.{% endblocktranslate %}{% else %}{% translate "Follow-ups you plan during calls will show here on the day." %}{% endif %}
{% endif %}
{% endblock %}