mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-12 14:22:37 -04:00
Make download PDF link work
To see what happens if people click it in the lab tomorrow.
This commit is contained in:
@@ -178,7 +178,7 @@
|
||||
{% 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='') }}" />
|
||||
{% else %}
|
||||
<a href="#" 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 PDF</a>
|
||||
{% endif %}
|
||||
<a href="{{ back_link }}" class="page-footer-back-link">Back</a>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user