diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index fa8405690..e7332e9f5 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -19,25 +19,25 @@ {% include 'views/dashboard/write-first-messages.html' %} {% endif %} - {{ ajax_block(partials, updates_url, 'upcoming') }} + {{ ajax_block(partials, updates_url, 'upcoming', interval=20) }}

In the last 7 days

- {{ ajax_block(partials, updates_url, 'inbox') }} + {{ ajax_block(partials, updates_url, 'inbox', interval=20) }} - {{ ajax_block(partials, updates_url, 'totals') }} + {{ ajax_block(partials, updates_url, 'totals', interval=20) }} {{ show_more( url_for('.monthly', service_id=current_service.id), 'See messages sent per month' ) }} - {{ ajax_block(partials, updates_url, 'template-statistics') }} + {{ ajax_block(partials, updates_url, 'template-statistics', interval=20) }} {% if current_user.has_permissions('manage_service') %}

This year

- {{ ajax_block(partials, updates_url, 'usage') }} + {{ ajax_block(partials, updates_url, 'usage', interval=20) }} {{ show_more( url_for(".usage", service_id=current_service['id']), 'See usage' diff --git a/app/templates/views/notifications/notification.html b/app/templates/views/notifications/notification.html index 288cb7ee4..63bf4ceed 100644 --- a/app/templates/views/notifications/notification.html +++ b/app/templates/views/notifications/notification.html @@ -96,10 +96,10 @@ {% elif template.template_type == 'email' %}
- {{ ajax_block(partials, updates_url, 'status', finished=finished) }} + {{ ajax_block(partials, updates_url, 'status', interval=2, finished=finished) }}
{% elif template.template_type == 'sms' %} - {{ ajax_block(partials, updates_url, 'status', finished=finished) }} + {{ ajax_block(partials, updates_url, 'status', interval=2, finished=finished) }} {% endif %} {% if current_user.has_permissions('send_messages') and current_user.has_permissions('view_activity') and template.template_type == 'sms' and can_receive_inbound %}