mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 00:08:25 -04:00
Rename ‘generate preview’
‘Print a test letter’ seems to be closer to what people’s expectations of what this feature does are. The word ‘generate’ sounded too much like something the system was doing, rather than something you, the user, were doing.
This commit is contained in:
@@ -178,7 +178,7 @@
|
|||||||
{% if template.template_type != 'letter' or not request.args.from_test %}
|
{% if template.template_type != 'letter' or not request.args.from_test %}
|
||||||
<input type="submit" class="button" value="Send {{ count_of_recipients }} {{ message_count_label(count_of_recipients, template.template_type, suffix='') }}" />
|
<input type="submit" class="button" value="Send {{ count_of_recipients }} {{ message_count_label(count_of_recipients, template.template_type, suffix='') }}" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ url_for('main.check_messages_preview', service_id=current_service.id, template_type=template.template_type, upload_id=upload_id, filetype='pdf') }}" download="download" class="heading-medium">Download as PDF</a>
|
<a href="{{ url_for('main.check_messages_preview', service_id=current_service.id, template_type=template.template_type, upload_id=upload_id, filetype='pdf') }}" download="download" class="heading-medium">Download as a printable PDF</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{{ back_link }}" class="page-footer-back-link">Back</a>
|
<a href="{{ back_link }}" class="page-footer-back-link">Back</a>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
Example text message
|
Example text message
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if template.template_type == 'letter' %}
|
{% if template.template_type == 'letter' %}
|
||||||
Generate preview
|
Print a test letter
|
||||||
{% else %}
|
{% else %}
|
||||||
Send yourself a test
|
Send yourself a test
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="{{ 'column-half' if template.template_type == 'letter' else 'column-third' }}">
|
<div class="{{ 'column-half' if template.template_type == 'letter' else 'column-third' }}">
|
||||||
<a href="{{ url_for(".send_test", service_id=current_service.id, template_id=template.id) }}" class="pill-separate-item">
|
<a href="{{ url_for(".send_test", service_id=current_service.id, template_id=template.id) }}" class="pill-separate-item">
|
||||||
{{ 'Generate preview' if template.template_type == 'letter' else 'Send yourself a test' }}
|
{{ 'Print a test letter' if template.template_type == 'letter' else 'Send yourself a test' }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user