This commit is contained in:
Alan Grainger
2025-02-03 15:25:24 +08:00
parent 61efc776d5
commit 17c4969297
4 changed files with 6 additions and 8 deletions
+1 -3
View File
@@ -14,11 +14,9 @@
<% } %>
<%
if (showDownload) {
// If there is a password required for the download, format it as a query string
const passwordQuery = Object.entries(password).length ? '?' + (new URLSearchParams(password)).toString() : ''
%>
<div id="download-all">
<a href="<%- path %>/download<%- passwordQuery %>" title="Download all"><img src="/share/static/images/download-all.svg"
<a href="<%- path %>/download" title="Download all"><img src="/share/static/images/download-all.svg"
height="24"
width="24" alt="Download all"></a>
</div>