dowload package
This commit is contained in:
@@ -71,6 +71,11 @@
|
||||
<td><span class="badge <%= helpers.statusClass(version.status) %>"><%= version.status %></span></td>
|
||||
<td class="action-col">
|
||||
<div class="action-group">
|
||||
<% if (packageItem.type === 'deb' && version.filePath) { %>
|
||||
<a class="icon-button subtle" href="/api/package-versions/<%= version.id %>/download" title="Download package" aria-label="Download package version <%= version.version %>">
|
||||
<span class="material-symbols-outlined">download</span>
|
||||
</a>
|
||||
<% } %>
|
||||
<form method="post" action="/package-versions/<%= version.id %>/latest">
|
||||
<input type="hidden" name="returnTo" value="<%= currentPath %>">
|
||||
<button class="icon-button subtle" type="submit" title="Đặt latest" aria-label="Đặt latest <%= version.version %>" <%= version.status === 'Latest' ? 'disabled' : '' %>>
|
||||
|
||||
Reference in New Issue
Block a user