mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05: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>
|
||||
|
||||
{% 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(
|
||||
notifications,
|
||||
caption="Recent activity",
|
||||
@@ -92,11 +98,8 @@
|
||||
{% call field(align='right') %}
|
||||
{{ item.created_at|format_delta }}
|
||||
{% 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) }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user