##// END OF EJS Templates
files: change download title for button
marcink -
r3700:79b1ffe9 new-ui
parent child Browse files
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 = '{}.zip'.format(request.GET.get('at') or c.commit.raw_id[:6]) %>
27 <% at_path = '{}'.format(request.GET.get('at') or c.commit.raw_id[:6]) %>
28 <div title="${_('Download tree at {}').format(at_path)}" class="btn btn-default new-file">
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 tree at {}').format(at_path)}
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