changeset 3763:aab189b312fa beta

download button looks nicer displayed first
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 15 Apr 2013 23:12:09 +0200
parents f485eb78b519
children c7970889c5c0
files rhodecode/templates/summary/summary.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/summary/summary.html	Mon Apr 15 22:59:09 2013 +0200
+++ b/rhodecode/templates/summary/summary.html	Mon Apr 15 23:12:09 2013 +0200
@@ -167,11 +167,11 @@
                         ${h.link_to(_('Enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-btn")}
                     %endif
                 %else:
+                    <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>
                     ${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 style="vertical-align: bottom">
-                        <input id="archive_subrepos" type="checkbox" name="subrepos" />
-                        <label for="archive_subrepos" class="tooltip" title="${h.tooltip(_('Check this to download archive with subrepos'))}" >${_('with subrepos')}</label>
+                      <input id="archive_subrepos" type="checkbox" name="subrepos" />
+                      <label for="archive_subrepos" class="tooltip" title="${h.tooltip(_('Check this to download archive with subrepos'))}" >${_('with subrepos')}</label>
                     </span>
                 %endif
               </div>