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 @@ -13,7 +13,7 @@ <%def name="page_nav()"> - ${self.menu('summary')} + ${self.menu('summary')} <%def name="head_extra()"> @@ -35,14 +35,14 @@ ${self.breadcrumbs()} -
-
+
+
-
-
- -
-
+
+
+ +
+
%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')} @@ -73,119 +73,119 @@ %endif %endif ##REPO TYPE - %if h.is_hg(c.dbrepo): - ${_('Mercurial repository')} - %endif - %if h.is_git(c.dbrepo): - ${_('Git repository')} - %endif + %if h.is_hg(c.dbrepo): + ${_('Mercurial repository')} + %endif + %if h.is_git(c.dbrepo): + ${_('Git repository')} + %endif ##PUBLIC/PRIVATE - %if c.dbrepo.private: - ${_('private repository')} - %else: - ${_('public repository')} - %endif + %if c.dbrepo.private: + ${_('private repository')} + %else: + ${_('public repository')} + %endif - ##REPO NAME - ${h.repo_link(c.dbrepo.groups_and_repo)} + ##REPO NAME + ${h.repo_link(c.dbrepo.groups_and_repo)} ##FORK - %if c.dbrepo.fork: - - %endif - ##REMOTE - %if c.dbrepo.clone_uri: + %if c.dbrepo.fork: + + %endif + ##REMOTE + %if c.dbrepo.clone_uri: - %endif -
-
+ %endif +
+
-
-
- -
+
+
+ +
%if c.visual.stylify_metatags:
${h.urlify_text(h.desc_stylize(c.dbrepo.description))}
%else:
${h.urlify_text(c.dbrepo.description)}
%endif -
+
-
-
- -
-
-
- gravatar -
- ${_('Username')}: ${c.dbrepo.user.username}
- ${_('Name')}: ${c.dbrepo.user.name} ${c.dbrepo.user.lastname}
- ${_('Email')}: ${c.dbrepo.user.email} -
-
+
+
+ +
+
+
+ gravatar +
+ ${_('Username')}: ${c.dbrepo.user.username}
+ ${_('Name')}: ${c.dbrepo.user.name} ${c.dbrepo.user.lastname}
+ ${_('Email')}: ${c.dbrepo.user.email} +
+
-
-
- -
-
+
+
+ +
+
${_('Show by ID')}
- + -
-
+
+
-
-
- -
-
+
+
+ +
+
%if c.show_stats: -
+
%else: ${_('Statistics are disabled for this repository')} %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-btn")} %endif %endif -
-
+
+
-
-
- -
-
- %if len(c.rhodecode_repo.revisions) == 0: - ${_('There are no downloads yet')} - %elif c.enable_downloads is False: - ${_('Downloads are disabled for this repository')} +
+
+ +
+
+ %if len(c.rhodecode_repo.revisions) == 0: + ${_('There are no downloads yet')} + %elif c.enable_downloads is False: + ${_('Downloads are disabled for this repository')} %if h.HasPermissionAll('hg.admin')('enable downloads on from summary'): ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-btn")} %endif - %else: - ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)} - ${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")} + %else: + ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)} + ${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")} - %endif -
-
-
-
+ %endif +
+
+
+
%if c.show_stats: @@ -210,12 +210,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
%endif @@ -279,13 +279,13 @@ YUE.on('clone_by_name','click',function( }) YUE.on('clone_by_id','click',function(e){ - // show url by id and hide id button - YUD.setStyle('clone_by_id','display','none'); + // show url by id and hide id button + YUD.setStyle('clone_by_id','display','none'); YUD.setStyle('clone_url_id','display',''); // hide url by name and show id button - YUD.setStyle('clone_by_name','display',''); - YUD.setStyle('clone_url','display','none'); + YUD.setStyle('clone_by_name','display',''); + YUD.setStyle('clone_url','display','none'); }) @@ -323,7 +323,7 @@ var tbl = document.createElement('table' tbl.setAttribute('class','trending_language_tbl'); var cnt = 0; for (var i=0;i