mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 13:38:25 -04:00
Add ‘get started’ back to the dashboard
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.
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
|
||||
<h1 class="visuallyhidden">Dashboard</h1>
|
||||
|
||||
{% if not current_user.has_permissions(['send_texts', 'send_emails', 'send_letters'], any_=True) %}
|
||||
{% 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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user