diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html
--- a/rhodecode/templates/summary/summary.html
+++ b/rhodecode/templates/summary/summary.html
@@ -128,17 +128,20 @@
-
- ${h.select('download_options',c.repo_info.get_changeset().raw_id,c.download_options)}
- %for cnt,archive in enumerate(c.repo_info._get_archives()):
- %if cnt >=1:
- |
- %endif
- ${h.link_to(archive['type'],
- h.url('files_archive_home',repo_name=c.repo_info.name,
- fname='tip'+archive['extension']),class_="archive_icon")}
- %endfor
+ %if len(c.repo_info.revisions) == 0:
+ ${_('There are no downloads yet')}
+ %else:
+ ${h.select('download_options',c.repo_info.get_changeset().raw_id,c.download_options)}
+ %for cnt,archive in enumerate(c.repo_info._get_archives()):
+ %if cnt >=1:
+ |
+ %endif
+ ${h.link_to(archive['type'],
+ h.url('files_archive_home',repo_name=c.repo_info.name,
+ fname='tip'+archive['extension']),class_="archive_icon")}
+ %endfor
+ %endif
@@ -268,12 +271,11 @@
-
%if c.no_data:
${c.no_data_msg}
%if h.HasPermissionAll('hg.admin')('enable stats on from summary'):
[${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name))}]
- %endif
+ %endif
%endif: