mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Refactor user permissions to use args, not list
This makes the interface a bit cleaner and less verbose.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
'messages',
|
||||
) }}
|
||||
|
||||
{% if current_user.has_permissions(['send_texts'], admin_override=True) %}
|
||||
{% if current_user.has_permissions('send_texts', admin_override=True) %}
|
||||
<p class="sms-message-reply-link">
|
||||
<a href="{{ url_for('.conversation_reply', service_id=current_service.id, notification_id=notification_id) }}">Send a text message to this phone number</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user