{% load i18n mobile_tags %}
Creme Mobile - {% translate 'Activities' %}
{% include 'mobile/frags/phonecall_script.html' %}
{% translate 'Home' %}
{% translate 'Directory' %}
{% translate 'Activities' %}
{% if phone_calls %}
{% blocktranslate count counter=phone_calls|length %}{{counter}} delayed phone call{% plural %}{{counter}} last delayed phone calls{% endblocktranslate %}
{% for phone_call in phone_calls %}
{% mobile_activity_card phone_call 'done' %}
{% endfor %}
{% else %}
{% translate 'No delayed phone calls' %}
{% endif %} {% if floating_activities %}
{% with floating_length=floating_activities|length %} {% if floating_length <= floating_activities_count %} {% blocktranslate count counter=floating_length %}{{counter}} activity without date{% plural %}{{counter}} activities without date{% endblocktranslate %} {% else %} {% blocktranslate count counter=floating_length with total=floating_activities_count %}{{counter}} activity without date (on {{total}}){% plural %}{{counter}} activities without date (on {{total}}){% endblocktranslate %} {% endif %} {% endwith %}
{% for activity in floating_activities %}
{% mobile_activity_card activity %}
{% endfor %}
{% else %}
{% translate 'No activity without date' %}
{% endif %} {% if tomorrow_activities %}
{% blocktranslate count counter=tomorrow_activities|length with tomorrow_date=tomorrow|date:_('l j F') %}{{counter}} activity planned tomorrow, {{tomorrow_date}}{% plural %}{{counter}} activities planned tomorrow, {{tomorrow_date}}{% endblocktranslate %}
{% for activity in tomorrow_activities %}
{% mobile_activity_card activity 'no-button' never_edit_pcall=1 %}
{% endfor %}
{% else %}
{% blocktranslate with tomorrow_date=tomorrow|date:_('l j F') %}No activity planned tomorrow, {{tomorrow_date}}{% endblocktranslate %}
{% endif %}
{% mobile_footer %}