downloads: fixed archive links from file tree view
This commit is contained in:
parent
cbd41c4079
commit
b7abd4d97b
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
% if c.enable_downloads:
|
||||
<% at_path = '{}.zip'.format(request.GET.get('at') or c.commit.raw_id[:6]) %>
|
||||
<div title="${_('Download tree at {}').format(at_path)}" class="btn btn-default new-file">
|
||||
<a href="${h.route_path('repo_archivefile',repo_name=c.repo_name, fname=c.commit.raw_id)}">
|
||||
<a href="${h.route_path('repo_archivefile',repo_name=c.repo_name, fname='{}.zip'.format(c.commit.raw_id))}">
|
||||
${_('Download tree at {}').format(at_path)}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue