{% 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

{% for notification in notifications[:5] %} {% if notification %} {% set job_available = jobs|selectattr('job_id', 'equalto', notification.job.id)|first %} {% endif %} {% endfor %}
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 }} {{ notification.created_at | format_datetime_short_america }} {{ notification.created_by.name }} {{ job_available.notification_count if job_available else ''}} {% if job_available and job_available.time_left != "Data no longer available" %} {{ "Download" if job_available.job_id else '' }} {{ job_available.time_left }} {% elif job_available %} {{ job_available.time_left }} {% endif %}

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 %}