diff --git a/app/templates/views/broadcast/dashboard.html b/app/templates/views/broadcast/dashboard.html index a1d67d7cc..a0695de8e 100644 --- a/app/templates/views/broadcast/dashboard.html +++ b/app/templates/views/broadcast/dashboard.html @@ -9,14 +9,6 @@ {% block maincolumn_content %} - {% if current_user.has_permissions('manage_templates') and not current_service.all_templates %} - - {% endif %} -
- {% if current_user.has_permissions('manage_templates') %} - You need a template before you can - {% else %} - You need to ask your service manager to add templates before you can - {% endif %} {% if current_service.has_permission('broadcast') %} - prepare a broadcast - {%- else %} - send emails, text messages or letters - {%- endif %}. + You haven’t added any templates yet. + {% else %} + {% if current_user.has_permissions('manage_templates') %} + You need a template before you can + {% else %} + You need to ask your service manager to add templates before you can + {% endif %} + send emails, text messages or letters. + {% endif %}
{% else %} diff --git a/tests/app/main/views/test_templates.py b/tests/app/main/views/test_templates.py index adb3688e0..39ea4499a 100644 --- a/tests/app/main/views/test_templates.py +++ b/tests/app/main/views/test_templates.py @@ -43,7 +43,7 @@ from tests.conftest import ( 'You need a template before you can send emails, text messages or letters.' )), (['broadcast'], ( - 'You need a template before you can prepare a broadcast.' + 'You haven’t added any templates yet.' )), )) def test_should_show_empty_page_when_no_templates(