From a25bbaea0641dccc243aa46212b9914a25638e82 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 13 Apr 2016 14:18:56 +0100 Subject: [PATCH] Move download CSV link to top MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit You might miss it at the bottom if you’ve got lots of rows. Better to have it in a consistent place. --- app/templates/views/notifications.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/templates/views/notifications.html b/app/templates/views/notifications.html index b5bdc0793..d58771beb 100644 --- a/app/templates/views/notifications.html +++ b/app/templates/views/notifications.html @@ -63,6 +63,12 @@ + {% if notifications %} +

+ Download as a CSV file +

+ {% 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 %} - + {{ previous_next_navigation(prev_page, next_page) }} {% endblock %}