<%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Summary') % c.repo_name} · ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${_('Summary')} <%def name="page_nav()"> ${self.menu('repositories')} <%def name="head_extra()"> <%def name="main()"> ${self.context_bar('summary')} <% summary = lambda n:{False:'summary-short'}.get(n) %> %if c.show_stats:
%else:
%endif
${self.breadcrumbs()}
## locking icon %if c.rhodecode_db_repo.enable_locking: %if c.rhodecode_db_repo.locked[0]: %else: %endif %endif ##REPO TYPE %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 ##REPO NAME ${h.repo_link(c.dbrepo.groups_and_repo)} ##FORK %if c.dbrepo.fork: %endif ##REMOTE %if c.dbrepo.clone_uri: %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}
${_('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 not c.enable_downloads: ${_('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")} %endif
  • ${_('Followers')} ${c.repository_followers}
  • ${_('Forks')} ${c.repository_forks}
  • %if h.HasRepoPermissionAll('repository.admin')(c.repo_name):
  • ${h.link_to(_('Settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}
  • %endif
  • %if c.rhodecode_user.username != 'default': ${h.link_to(_('Feed'),h.url('atom_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='feed')} %else: ${h.link_to(_('Feed'),h.url('atom_feed_home',repo_name=c.dbrepo.repo_name),class_='feed')} %endif
  • %if c.rhodecode_user.username != 'default':
  • ${_('Repository Size')}
  • %endif
%if c.show_stats:
${_('Commit activity by day / author')}
%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),class_="ui-btn")} %endif %else: ${_('Stats gathered: ')} ${c.stats_percentage}% %endif
%endif
<%include file='../shortlog/shortlog_data.html'/>
%if c.readme_data:
${c.readme_data|n}
%endif %if c.show_stats: %endif