files: change download title for button
This commit is contained in:
parent
8e476eb249
commit
32c910eeaf
1 changed files with 3 additions and 3 deletions
|
|
@ -24,10 +24,10 @@
|
|||
% endif
|
||||
|
||||
% 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">
|
||||
<% at_path = '{}'.format(request.GET.get('at') or c.commit.raw_id[:6]) %>
|
||||
<div class="btn btn-default new-file">
|
||||
<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)}
|
||||
${_('Download ZIP @ ')} <code>${at_path}</code>
|
||||
</a>
|
||||
</div>
|
||||
% endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue