mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Allow one-off email sending to select the reply-to address
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="{{ 'column-half' if template.template_type == 'letter' else 'column-third' }}">
|
||||
<a href="{{ url_for(".send_one_off", service_id=current_service.id, template_id=template.id) }}" class="pill-separate-item">
|
||||
<a href="{{ url_for(".set_sender", service_id=current_service.id, template_id=template.id) }}" class="pill-separate-item">
|
||||
{{ 'Print a test letter' if template.template_type == 'letter' else 'Send to one recipient' }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
29
app/templates/views/templates/set-sender.html
Normal file
29
app/templates/views/templates/set-sender.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/radios.html" import radios, branding_radios %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
|
||||
{% block service_page_title %}
|
||||
{{sender_context['title']}}
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">{{sender_context['title']}}</h1>
|
||||
<div class="grid-row">
|
||||
<div class="column-three-quarters">
|
||||
<form method="post">
|
||||
{{ radios(
|
||||
form.sender,
|
||||
option_hints=option_hints
|
||||
)
|
||||
}}
|
||||
{{ page_footer(
|
||||
'Continue',
|
||||
back_link=url_for('.view_template', service_id=current_service.id, template_id=template_id),
|
||||
back_link_text='Back to template'
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user