mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Refactored code for new service permissions
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<div class="grid-row">
|
||||
<div class="column-five-sixths">
|
||||
<h1 class="heading-large">International text messages</h1>
|
||||
{% if current_service.can_send_international_sms %}
|
||||
{% if 'international_sms' in current_service.permissions %}
|
||||
<p>
|
||||
Your service can send text messages to international phone numbers.
|
||||
</p>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="grid-row">
|
||||
<div class="column-five-sixths">
|
||||
<h1 class="heading-large">Letters</h1>
|
||||
{% if current_service.can_send_letters %}
|
||||
{% if 'letter' in current_service.permissions %}
|
||||
<p>
|
||||
Your service can send letters.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user