{% extends "withnav_template.html" %} {% from "components/table.html" import list_table, field, text_field, link_field, right_aligned_field_heading, hidden_field_heading, row_heading, notification_status_field, notification_carrier_field, notification_carrier_message_field %} {% from "components/ajax-block.html" import ajax_block %} {% block service_page_title %} Dashboard {% endblock %} {% block maincolumn_content %}

Dashboard

{% if current_user.has_permissions('manage_templates') and not current_service.all_templates %} {% include 'views/dashboard/write-first-messages.html' %} {% endif %} {{ ajax_block(partials, updates_url, 'upcoming') }}

Messages sent

In the last seven days

{{ ajax_block(partials, updates_url, 'inbox') }} {{ ajax_block(partials, updates_url, 'totals') }} {{ ajax_block(partials, updates_url, 'template-statistics') }}

Recent Batches

{% if job_and_notifications %} {% for job in job_and_notifications[:5] %} {% if job.job_id and job.notifications %} {% set notification = job.notifications[0] %} {% endif %} {% endfor %} {% else %} {% endif %}
File name Template Time sent Sender # of Recipients Report
{{ notification.job.original_file_name if notification.job.original_file_name else 'Manually entered number'}}
View Batch
{{ notification.template.name }} {{ job.created_at | format_datetime_short_america }} {{ notification.created_by.name }} {{ job.notification_count}} {% if notification and job.time_left != "Data no longer available" %} Download {{ job.time_left }} {% elif job %} {{ job.time_left }} {% endif %}
No batched job messages found  (messages are kept for {{ service_data_retention_days }} days).

Usage

Daily

Across all services

Daily
Usage Remaining
{{ global_message_limit - daily_global_messages_remaining }} {{ daily_global_messages_remaining }}
{% if current_user.has_permissions('manage_service') %}

{{ ajax_block(partials, updates_url, 'usage') }} See all usage {% endif %}
{% endblock %}