%namespace name="base" file="/base/base.mako"/> <% elems = [ (_('Repository ID'), c.rhodecode_db_repo.repo_id, '', ''), (_('Owner'), lambda:base.gravatar_with_user(c.rhodecode_db_repo.user.email), '', ''), (_('Created on'), h.format_date(c.rhodecode_db_repo.created_on), '', ''), (_('Updated on'), h.format_date(c.rhodecode_db_repo.updated_on), '', ''), (_('Cached Commit id'), lambda: h.link_to(c.rhodecode_db_repo.changeset_cache.get('short_id'), h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.rhodecode_db_repo.changeset_cache.get('raw_id'))), '', ''), (_('Attached scoped tokens'), len(c.rhodecode_db_repo.scoped_tokens), '', [x.user for x in c.rhodecode_db_repo.scoped_tokens]), (_('Pull requests source'), len(c.rhodecode_db_repo.pull_requests_source), '', ['pr_id:{}, repo:{}'.format(x.pull_request_id,x.source_repo.repo_name) for x in c.rhodecode_db_repo.pull_requests_source]), (_('Pull requests target'), len(c.rhodecode_db_repo.pull_requests_target), '', ['pr_id:{}, repo:{}'.format(x.pull_request_id,x.target_repo.repo_name) for x in c.rhodecode_db_repo.pull_requests_target]), ] %>
${_('Hook type')} | ${_('Hook version')} | ${_('Current version')} | % if c.ver_info_dict:
---|---|---|
${_('PRE HOOK')} | ${c.ver_info_dict['pre_version']} | ${c.rhodecode_version} |
${_('POST HOOK')} | ${c.ver_info_dict['post_version']} | ${c.rhodecode_version} |
${_('Unable to read hook information from VCS Server')} |
${_ungettext('This repository has %s fork.', 'This repository has %s forks.', c.rhodecode_db_repo.forks.count()) % c.rhodecode_db_repo.forks.count()} | %if c.rhodecode_db_repo.forks.count(): %endif | %if c.rhodecode_db_repo.forks.count(): %endif |
${_ungettext('This repository has %s attached pull request.', 'This repository has %s attached pull requests.', attached_prs) % attached_prs}
${_('Consider to archive this repository instead.')} |