Remove platform admin toggles for email/SMS

Users can do this themselves now.
This commit is contained in:
Chris Hill-Scott
2019-02-01 12:50:59 +00:00
parent 7905b29d64
commit 33f318afec
5 changed files with 0 additions and 70 deletions

View File

@@ -347,16 +347,6 @@
{{ 'Take service out of research mode' if current_service.research_mode else 'Put into research mode' }}
</a>
</li>
<li class="bottom-gutter">
<a href="{{ url_for('.service_switch_can_send_email', service_id=current_service.id) }}" class="button">
{{ 'Stop sending emails' if 'email' in current_service.permissions else 'Allow to send emails' }}
</a>
</li>
<li class="bottom-gutter">
<a href="{{ url_for('.service_switch_can_send_sms', service_id=current_service.id) }}" class="button">
{{ 'Stop sending sms' if 'sms' in current_service.permissions else 'Allow to send sms' }}
</a>
</li>
{% if 'sms' in current_service.permissions %}
<li class="bottom-gutter">
{% if not current_service.has_permission('inbound_sms') %}