diff rhodecode/templates/summary/summary.html @ 2415:b9abef8dd2b4 beta

Small addition to render the Download button translatable.
author Vincent Duvert <vincent@duvert.net>
date Mon, 28 May 2012 21:56:56 +0200
parents 1b12e71b636f
children 76d156bef5a2
line wrap: on
line diff
--- a/rhodecode/templates/summary/summary.html	Sun May 27 23:04:05 2012 +0200
+++ b/rhodecode/templates/summary/summary.html	Mon May 28 21:56:56 2012 +0200
@@ -158,7 +158,7 @@
                     %endif
 		        %else:
 			        ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)}
-			             <span id="${'zip_link'}">${h.link_to('Download as zip',h.url('files_archive_home',repo_name=c.dbrepo.repo_name,fname='tip.zip'),class_="archive_icon ui-btn")}</span>
+			             <span id="${'zip_link'}">${h.link_to(_('Download as zip'), h.url('files_archive_home',repo_name=c.dbrepo.repo_name,fname='tip.zip'),class_="archive_icon ui-btn")}</span>
                     <span style="vertical-align: bottom">
                         <input id="archive_subrepos" type="checkbox" name="subrepos" />
                         <label for="archive_subrepos" class="tooltip" title="${_('Check this to download archive with subrepos')}" >${_('with subrepos')}</label>