Don’t treat letters as a special case

This conditional comes from before we launched the letters feature.
Since we were only giving the letters permission to teams that we were
inviting, we didn’t want to confuse new users by mentioning letters.

Nowadays all new services will have the letters permission, so this
check is redundant.
This commit is contained in:
Chris Hill-Scott
2020-07-14 14:54:55 +01:00
parent 008e4befb4
commit 9dfa48cfdd
2 changed files with 6 additions and 14 deletions

View File

@@ -31,12 +31,7 @@
{% if current_service.has_permission('broadcast') %}
prepare a broadcast
{%- else %}
send
{% if 'letter' in current_service.permissions %}
emails, text messages or letters
{%- else -%}
emails or text messages
{%- endif %}
send emails, text messages or letters
{%- endif %}.
</p>