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:
Chris Hill-Scott
2016-05-26 17:05:16 +01:00
parent 623ef5617e
commit 769acbf2b9
2 changed files with 1 additions and 26 deletions

View File

@@ -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 %}