mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-20 16:13:24 -04:00
Since we’re removing the write email/write text message calls to action from the tour, we should reintroduce them to the dashboard, for users who are unsure what they should do next.
29 lines
757 B
HTML
29 lines
757 B
HTML
{% extends "withnav_template.html" %}
|
||
|
||
{% block page_title %}
|
||
{{ current_service.name }} – GOV.UK Notify
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<div class="dashboard">
|
||
|
||
<h1 class="visuallyhidden">Dashboard</h1>
|
||
|
||
{% if current_user.has_permissions(['manage_templates'], admin_override=True) %}
|
||
{% if not templates %}
|
||
{% include 'views/dashboard/write-first-messages.html' %}
|
||
{% endif %}
|
||
{% elif not current_user.has_permissions(['send_texts', 'send_emails', 'send_letters'], any_=True) %}
|
||
{% include 'views/dashboard/no-permissions-banner.html' %}
|
||
{% endif %}
|
||
|
||
<h2 class="heading-medium">
|
||
In the last 7 days
|
||
</h2>
|
||
{% include 'views/dashboard/today.html' %}
|
||
|
||
</div>
|
||
|
||
{% endblock %}
|