{% 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') }}

{{ current_service.name }} Dashboard

{{ ajax_block(partials, updates_url, 'inbox') }}

Total messages

Recent activity

{{ current_service.name }} - last 7 days
{% if current_user.has_permissions('manage_service') %}{% endif %}

Service activity

{% if jobs %} {% for job in jobs[:5] %} {% set notification = job.notifications[0] %} {% endfor %} {% else %} {% endif %}
Job ID# Template Job status Sender # of Recipients
{{ job.job_id[:8] if job.job_id else 'Manually entered number' }} {{ job.template_name }} Sent on {{ (job.processing_finished if job.processing_finished else job.processing_started if job.processing_started else job.created_at)|format_datetime_table }} {{ job.created_by.name }} {{ job.notification_count }}
No batched job messages found  (messages are kept for {{ service_data_retention_days }} days).
{{ ajax_block(partials, updates_url, 'template-statistics') }}
{% endblock %}