Show More
@@ -24,10 +24,10 b'' | |||
|
24 | 24 | % endif |
|
25 | 25 | |
|
26 | 26 | % if c.enable_downloads: |
|
27 |
<% at_path = '{} |
|
|
28 |
<div |
|
|
27 | <% at_path = '{}'.format(request.GET.get('at') or c.commit.raw_id[:6]) %> | |
|
28 | <div class="btn btn-default new-file"> | |
|
29 | 29 | <a href="${h.route_path('repo_archivefile',repo_name=c.repo_name, fname='{}.zip'.format(c.commit.raw_id))}"> |
|
30 |
${_('Download |
|
|
30 | ${_('Download ZIP @ ')} <code>${at_path}</code> | |
|
31 | 31 | </a> |
|
32 | 32 | </div> |
|
33 | 33 | % endif |
General Comments 0
You need to be logged in to leave comments.
Login now