Skip to content

Commit

Permalink
LIMS-1469: Fix download button on old summary page (#840)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
ndg63276 and Mark Williams authored Nov 12, 2024
1 parent 6ba748f commit 9317745
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions api/src/Page/Download.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ function _download_visit()
$this->_error('There doesnt seem to be a data archive available for this visit');
}

# ------------------------------------------------------------------------
# Download mtz/log file for Fast DP / XIA2
# TODO: Delete me

# This method either returns a list of plots from MX auto processing tools (n_obs, n_uniq, completeness etc.)
# Or returns a specific plot based on auto processing attachment id (aid).
# Individual plotly format Graphs can be returned via an aid, but will not be included in the list of plots (as their format is different)
Expand Down
2 changes: 1 addition & 1 deletion client/src/js/modules/dc/views/summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ define(['marionette',
{ label: 'Resolution', cell: APCell, template: '<%-SHELLS.overall.RLOW%> - <%-SHELLS.overall.RHIGH%><br /><%-SHELLS.innerShell.RLOW%> - <%-SHELLS.innerShell.RHIGH%><br /><%-SHELLS.outerShell.RLOW%> - <%-SHELLS.outerShell.RHIGH%>', editable: false },
{ label: 'Rmeas', cell: APCell, template: '<span class="<%-CLASS.RMEAS.overall%>"><%-SHELLS.overall.RMEAS%></span><br /><span class="<%-CLASS.RMEAS.innerShell%>"><%-SHELLS.innerShell.RMEAS%></span><br /><span class="<%-CLASS.RMEAS.outerShell%>"><%-SHELLS.outerShell.RMEAS%></span>', editable: false },
{ label: 'Completeness', cell: APCell, template: '<span class="<%-CLASS.COMPLETENESS.overall%>"><%-SHELLS.overall.COMPLETENESS%></span><br /><span class="<%-CLASS.COMPLETENESS.innerShell%>"><%-SHELLS.innerShell.COMPLETENESS%></span><br /><span class="<%-CLASS.COMPLETENESS.outerShell%>"><%-SHELLS.outerShell.COMPLETENESS%></span>', editable: false },
{ label: '', cell: APCell, template: '<a href="'+app.apiurl+'/download/id/<%-DCID%>/aid/<%-AID%>" class="button button-notext dll" title="Download MTZ file"><i class="fa fa-download"></i> <span>Download MTZ file</span></a>', editable: false },
{ label: '', cell: APCell, template: '<a href="'+app.apiurl+'/download/ap/archive/<%-AID%>" class="button button-notext dll" title="Download autoprocessing archive"><i class="fa fa-download"></i> <span>Download autoprocessing archive</span></a>', editable: false },

]

Expand Down
4 changes: 2 additions & 2 deletions client/src/js/modules/summary/views/summary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@
<i class="fa fa-search"></i></a>
</p>
<p class="tw-ra tw-ml-1">
<a href="'+app.apiurl+'/download/id/<%-DCID%>/aid/<%-AID%>" class="tw-button tw-button-notext tw-dll"
title="Download MTZ file"><i class="fa fa-download"></i></a>
<a href="'+app.apiurl+'/download/ap/archive/<%-AID%>" class="tw-button tw-button-notext tw-dll"
title="Download autoprocessing archive"><i class="fa fa-download"></i></a>
</p> -->


Expand Down

0 comments on commit 9317745

Please sign in to comment.