From a82419616403fab89d8d34598bcfb4c290834a0a Mon Sep 17 00:00:00 2001
From: John Tordoff <>
Date: Mon, 11 Nov 2024 12:03:50 -0500
Subject: [PATCH] move archive link button to each tab and add a download
button
---
.../template.hbs | 18 ---------
.../institutional-users-list/styles.scss | 15 +++++++
.../institutional-users-list/template.hbs | 35 +++++++++++++++++
.../-components/object-list/styles.scss | 14 +++++--
.../-components/object-list/template.hbs | 39 +++++++++++++++++++
translations/en-us.yml | 7 ++++
6 files changed, 106 insertions(+), 22 deletions(-)
diff --git a/app/institutions/dashboard/-components/institutional-dashboard-wrapper/template.hbs b/app/institutions/dashboard/-components/institutional-dashboard-wrapper/template.hbs
index 94d5a346efa..acdccd258c2 100644
--- a/app/institutions/dashboard/-components/institutional-dashboard-wrapper/template.hbs
+++ b/app/institutions/dashboard/-components/institutional-dashboard-wrapper/template.hbs
@@ -8,24 +8,6 @@
>
- {{#if @institution.linkToExternalReportsArchive}}
-
-
-
- {{t 'institutions.dashboard.download_past_reports_label'}}
-
-
-
-
- {{/if}}
{{/if}}
+
+ {{#if @institution.linkToExternalReportsArchive}}
+
+
+ {{t 'institutions.dashboard.download_past_reports_label'}}
+
+
+
+ {{/if}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{#if @institution.linkToExternalReportsArchive}}
+
+
+
+ {{t 'institutions.dashboard.download_past_reports_label'}}
+
+
+
+
+ {{/if}}
+
+
+
+
+
+
+
+
+
+
diff --git a/translations/en-us.yml b/translations/en-us.yml
index a4464654de7..2abecdc51b3 100644
--- a/translations/en-us.yml
+++ b/translations/en-us.yml
@@ -813,6 +813,13 @@ institutions:
title: '{institutionName} Dashboard'
download_past_reports_label: 'Previous reports'
download_csv: 'Download CSV'
+ download_tsv: 'Download TSV'
+ format_labels:
+ csv: '.csv'
+ tsv: '.tsv'
+ json_table: 'JSON (table)'
+ json_direct: 'JSON (direct)'
+ download: 'Download'
select_default: 'All Departments'
users_list:
name: Name