Merge pull request #1547 from alphagov/download-inbound

Let users download a CSV of inbound messages
This commit is contained in:
Chris Hill-Scott
2017-10-18 17:27:54 +01:00
committed by GitHub
6 changed files with 130 additions and 2 deletions

View File

@@ -2,6 +2,11 @@
{% from "components/message-count-label.html" import message_count_label %}
<div class="ajax-block-container">
{% if messages %}
<p class="bottom-gutter-2-3 top-gutter-2-3">
<a href="{{ url_for('.inbox_download', service_id=current_service.id) }}" download="download" class="heading-small">Download these messages</a>
</p>
{% endif %}
{% call(item, row_number) list_table(
messages,
caption="Inbox",