##// END OF EJS Templates
downloads: fixed archive links from file tree view
marcink -
r3529:e3a8a052 stable
parent child Browse files
Show More
@@ -30,7 +30,7 b''
30 % if c.enable_downloads:
30 % if c.enable_downloads:
31 <% at_path = '{}.zip'.format(request.GET.get('at') or c.commit.raw_id[:6]) %>
31 <% at_path = '{}.zip'.format(request.GET.get('at') or c.commit.raw_id[:6]) %>
32 <div title="${_('Download tree at {}').format(at_path)}" class="btn btn-default new-file">
32 <div title="${_('Download tree at {}').format(at_path)}" class="btn btn-default new-file">
33 <a href="${h.route_path('repo_archivefile',repo_name=c.repo_name, fname=c.commit.raw_id)}">
33 <a href="${h.route_path('repo_archivefile',repo_name=c.repo_name, fname='{}.zip'.format(c.commit.raw_id))}">
34 ${_('Download tree at {}').format(at_path)}
34 ${_('Download tree at {}').format(at_path)}
35 </a>
35 </a>
36 </div>
36 </div>
General Comments 0
You need to be logged in to leave comments. Login now