Add the download activity link for notifications.

This works locally for a long running request and a large number of messages. However I suspect that nginx may be timing out the request. I'd like to try this on staging.
This commit is contained in:
Rebecca Law
2018-06-25 16:29:40 +01:00
parent 3495c4ca3a
commit 72b0637f92
3 changed files with 13 additions and 7 deletions

View File

@@ -47,6 +47,11 @@
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
</form>
{% endif %}
<p class="bottom-gutter">
<a href="{{ download_link }}" download="download" class="heading-small">Download this report</a>
&emsp;
Data available for 7 days
</p>
{{ ajax_block(
partials,
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page),