mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Show who the recipient is even in trial mode
Trial mode should let you preview the letter the same as live mode, except for being able to actually end the letter. Showing the recipient helps people understand how the feature works.
This commit is contained in:
@@ -30,20 +30,23 @@
|
||||
{{ template|string }}
|
||||
</div>
|
||||
|
||||
{% if status == 'valid' and current_service.live %}
|
||||
{% if status == 'valid' %}
|
||||
<div class="js-stick-at-bottom-when-scrolling">
|
||||
<p class="top-gutter-0 bottom-gutter-1-2 send-recipient" title="{{ recipient }}">
|
||||
Recipient: {{ recipient }}
|
||||
</p>
|
||||
|
||||
<form method="post" enctype="multipart/form-data" action="{{url_for(
|
||||
'main.send_uploaded_letter',
|
||||
service_id=current_service.id,
|
||||
)}}" class='page-footer'>
|
||||
{{ radios(form.postage, hide_legend=true, inline=True) }}
|
||||
{{ form.file_id(value=file_id) }}
|
||||
{{ page_footer("Send 1 letter") }}
|
||||
</form>
|
||||
{% if current_service.live %}
|
||||
<form method="post" enctype="multipart/form-data" action="{{url_for(
|
||||
'main.send_uploaded_letter',
|
||||
service_id=current_service.id,
|
||||
)}}" class='page-footer'>
|
||||
{{ radios(form.postage, hide_legend=true, inline=True) }}
|
||||
{{ form.file_id(value=file_id) }}
|
||||
{{ page_footer("Send 1 letter") }}
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user