<%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Summary') % c.repo_name} %if c.rhodecode_name: · ${c.rhodecode_name} %endif <%def name="breadcrumbs_links()"> ${_('Summary')} ## locking icon %if c.rhodecode_db_repo.enable_locking: %if c.rhodecode_db_repo.locked[0]: %else: %endif %endif ##FORK %if c.rhodecode_db_repo.fork: - ${_('Fork of')} "${c.rhodecode_db_repo.fork.repo_name}" %endif ##REMOTE %if c.rhodecode_db_repo.clone_uri: - ${_('Clone from')} "${h.hide_credentials(c.rhodecode_db_repo.clone_uri)}" %endif <%def name="page_nav()"> ${self.menu('repositories')} <%def name="head_extra()"> <%def name="main()"> ${self.repo_context_bar('summary')} <% summary = lambda n:{False:'summary-short'}.get(n) %>
${self.breadcrumbs()}
${_('Show by ID')}
%if c.visual.stylify_metatags:
${h.urlify_text(h.desc_stylize(c.rhodecode_db_repo.description))}
%else:
${h.urlify_text(c.rhodecode_db_repo.description)}
%endif
%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, anchor='repo_enable_statistics'),class_="btn btn-mini")} %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, anchor='repo_enable_downloads'),class_="btn btn-mini")} %endif %else: ${_('Download as zip')} ${h.hidden('download_options')} %endif
<%include file='../changelog/changelog_summary_data.html'/>
%if c.readme_data:
${c.readme_data|n}
%endif %if c.show_stats: %endif