mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
816 - Change "Prepare to send" button text
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<div class="usa-button-group">
|
||||
{% if current_user.has_permissions('send_messages', restrict_admin_usage=True) %}
|
||||
<a href="{{ url_for(".set_sender", service_id=current_service.id, template_id=template.id) }}" class="usa-button usa-pill-separate-item">
|
||||
Prepare to send<span class="usa-sr-only"> a message using this template</span>
|
||||
Use this template
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if current_user.has_permissions('manage_templates') %}
|
||||
|
||||
@@ -545,7 +545,7 @@ def test_user_with_only_send_and_view_redirected_to_set_sender_for_one_off(
|
||||
(
|
||||
["send_messages", "manage_templates"],
|
||||
[
|
||||
(".set_sender", "Prepare to send a message using this template"),
|
||||
(".set_sender", "Use this template"),
|
||||
(".edit_service_template", "Edit"),
|
||||
],
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user