mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 23:38:25 -04:00
Remove the get started banner from the dashboard
We cover this stuff in the tour now. It can also show up if you delete all your templates.
This commit is contained in:
@@ -10,9 +10,7 @@
|
||||
|
||||
<h1 class="visuallyhidden">Dashboard</h1>
|
||||
|
||||
{% if not templates and current_user.has_permissions(['send_texts', 'send_emails', 'send_letters'], any_=True) %}
|
||||
{% include 'views/dashboard/get-started.html' %}
|
||||
{% elif current_user.has_permissions([
|
||||
{% if current_user.has_permissions([
|
||||
'manage_templates', 'manage_api_keys', 'manage_users', 'manage_settings
|
||||
'], any_=True, admin_override=True) %}
|
||||
{% if current_service.restricted %}
|
||||
|
||||
Reference in New Issue
Block a user