mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
https://www.pivotaltracker.com/story/show/115874485 This uses the same component as on the jobs page to make a partial section of the page update itself periodically.
29 lines
669 B
HTML
29 lines
669 B
HTML
{% extends "withnav_template.html" %}
|
||
|
||
{% block page_title %}
|
||
{{ session.get('service_name', 'Dashboard') }} – GOV.UK Notify
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
{% if service.restricted %}
|
||
{% include 'views/dashboard/trial-mode-banner.html' %}
|
||
{% endif %}
|
||
|
||
{% if not jobs %}
|
||
{% include 'views/dashboard/get-started.html' %}
|
||
{% else %}
|
||
|
||
<div
|
||
data-module="update-content"
|
||
data-resource="{{url_for(".service_dashboard_updates", service_id=service_id)}}"
|
||
data-key="today"
|
||
>
|
||
{% include 'views/dashboard/today.html' %}
|
||
</div>
|
||
|
||
{% include 'views/dashboard/jobs.html' %}
|
||
{% endif %}
|
||
|
||
{% endblock %}
|