mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 01:04:00 -04:00
Move download CSV link to top
You might miss it at the bottom if you’ve got lots of rows. Better to have it in a consistent place.
This commit is contained in:
@@ -63,6 +63,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if notifications %}
|
||||||
|
<p class="heading-small bottom-gutter">
|
||||||
|
<a href="{{ request.url }}&download=csv" download>Download as a CSV file</a>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% call(item, row_number) list_table(
|
{% call(item, row_number) list_table(
|
||||||
notifications,
|
notifications,
|
||||||
caption="Recent activity",
|
caption="Recent activity",
|
||||||
@@ -92,11 +98,8 @@
|
|||||||
{% call field(align='right') %}
|
{% call field(align='right') %}
|
||||||
{{ item.created_at|format_delta }}
|
{{ item.created_at|format_delta }}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
<p class="table-show-more-link">
|
|
||||||
<a href="{{ request.url }}&download=csv">Download csv</a>
|
|
||||||
</p>
|
|
||||||
{{ previous_next_navigation(prev_page, next_page) }}
|
{{ previous_next_navigation(prev_page, next_page) }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user