<%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Summary') % c.repo_name} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} » ${_('summary')} <%def name="page_nav()"> ${self.menu('summary')} <%def name="head_extra()"> <%def name="main()"> <% summary = lambda n:{False:'summary-short'}.get(n) %> %if c.show_stats:
%else:
%endif
${self.breadcrumbs()}
%if c.rhodecode_user.username != 'default': ${h.link_to(_('ATOM'),h.url('atom_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='atom_icon')} %else: ${h.link_to(_('ATOM'),h.url('atom_feed_home',repo_name=c.dbrepo.repo_name),class_='atom_icon')} %endif
%if c.rhodecode_user.username != 'default': %if c.following: %else: %endif
%endif: ## 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 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")} %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