diff --git a/src/views/SemesterDetail.vue b/src/views/SemesterDetail.vue
index c328b0c..9bc98ee 100644
--- a/src/views/SemesterDetail.vue
+++ b/src/views/SemesterDetail.vue
@@ -26,6 +26,7 @@
Title |
Semesters |
Instrument Types |
+ Archived Frames |
Total {{ id }} Hours |
@@ -59,6 +60,9 @@
{{ instrument_type }}
+
+ {{ proposal.id }}
+ |
{{ getTotalAllocationForProposal(proposal) | formatFloat(0) }}
|
@@ -98,12 +102,18 @@ export default {
computed: {
proposalsBySca: function() {
return _.groupBy(this.data, 'sca_id');
+ },
+ archiveClientUrl: function() {
+ return this.$store.state.urls.archiveClient;
}
},
methods: {
initializeDataEndpoint: function() {
return this.$store.state.urls.observationPortalApi + '/api/semesters/' + this.id + '/proposals/';
},
+ archiveClientLinkForProposal: function(proposal) {
+ return this.archiveClientUrl + "?proposal_id=" + proposal.id;
+ },
getInstrumentTypes: function(proposal) {
let instrumentTypesSet = new Set();
for (let instrumentTypes in proposal['allocation']) {