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 @@ -16,11 +16,10 @@ ${self.menu('summary')} -<% -summary = lambda n:{False:'summary'}.get(n) -%> - <%def name="main()"> + <% + summary = lambda n:{False:'summary-short'}.get(n) + %> %if c.show_stats:
%else: @@ -38,7 +37,7 @@ summary = lambda n:{False:'summary'}.get
-
+
%if c.rhodecode_user.username != 'default': ${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='rss_icon')} @@ -100,14 +99,14 @@ summary = lambda n:{False:'summary'}.get
-
${h.urlify_text(c.dbrepo.description)}
+
${h.urlify_text(c.dbrepo.description)}
-
+
gravatar
@@ -121,7 +120,7 @@ summary = lambda n:{False:'summary'}.get
-
+
${'r%s:%s' % (h.get_changeset_safe(c.rhodecode_repo,'tip').revision, h.get_changeset_safe(c.rhodecode_repo,'tip').short_id)} - @@ -134,7 +133,7 @@ summary = lambda n:{False:'summary'}.get
-
+
@@ -143,13 +142,14 @@ summary = lambda n:{False:'summary'}.get
-
+
%if c.show_stats:
%else: + ${_('Statistics are disabled for this repository')} %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): - ${_('Statistics are disabled for this repository')} ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")} - %endif + ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")} + %endif %endif
@@ -158,7 +158,7 @@ summary = lambda n:{False:'summary'}.get
-
+
%if len(c.rhodecode_repo.revisions) == 0: ${_('There are no downloads yet')} %elif c.enable_downloads is False: