mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Merge pull request #1845 from GSA/1843-qa-for-prod-push-aug-14
added 3 day download link in activity page
This commit is contained in:
@@ -35,6 +35,13 @@ def all_jobs_activity(service_id):
|
|||||||
status=request.args.get("status"),
|
status=request.args.get("status"),
|
||||||
number_of_days="one_day",
|
number_of_days="one_day",
|
||||||
),
|
),
|
||||||
|
download_link_three_day=url_for(
|
||||||
|
".download_notifications_csv",
|
||||||
|
service_id=current_service.id,
|
||||||
|
message_type=message_type,
|
||||||
|
status=request.args.get("status"),
|
||||||
|
number_of_days="three_day",
|
||||||
|
),
|
||||||
download_link_five_day=url_for(
|
download_link_five_day=url_for(
|
||||||
".download_notifications_csv",
|
".download_notifications_csv",
|
||||||
service_id=current_service.id,
|
service_id=current_service.id,
|
||||||
|
|||||||
@@ -134,6 +134,10 @@
|
|||||||
<p class="font-body-sm">
|
<p class="font-body-sm">
|
||||||
<a href="{{ download_link_one_day }}" download="download" class="usa-link">Download all data last 24 hours (<abbr title="Comma separated values">CSV</abbr>)</a>
|
<a href="{{ download_link_one_day }}" download="download" class="usa-link">Download all data last 24 hours (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||||
</p>
|
</p>
|
||||||
|
<p class="font-body-sm">
|
||||||
|
<a href="{{ download_link_three_day }}" download="download" class="usa-link">Download all data last 3 days (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||||
|
 
|
||||||
|
</p>
|
||||||
<p class="font-body-sm">
|
<p class="font-body-sm">
|
||||||
<a href="{{ download_link_five_day }}" download="download" class="usa-link">Download all data last 5 days (<abbr title="Comma separated values">CSV</abbr>)</a>
|
<a href="{{ download_link_five_day }}" download="download" class="usa-link">Download all data last 5 days (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user