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