<%inherit file="/base/base.html"/> <%def name="title()"> ${c.repo_name} ${_('Summary')} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(u'Home',h.url('/'))} » ${h.link_to(c.dbrepo.just_name,h.url('summary_home',repo_name=c.repo_name))} » ${_('summary')} <%def name="page_nav()"> ${self.menu('summary')} <%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(_('RSS'),h.url('rss_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='rss_icon')} ${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(_('RSS'),h.url('rss_feed_home',repo_name=c.dbrepo.repo_name),class_='rss_icon')} ${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: ##REPO TYPE %if c.dbrepo.repo_type =='hg': ${_('Mercurial repository')} %endif %if c.dbrepo.repo_type =='git': ${_('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
${h.urlify_text(c.dbrepo.description)}
gravatar
${_('Username')}: ${c.dbrepo.user.username}
${_('Name')}: ${c.dbrepo.user.name} ${c.dbrepo.user.lastname}
${_('Email')}: ${c.dbrepo.user.email}
%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")} ${_('with subrepos')} %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: ${_('Loaded in')} ${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