%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, tooltip=True), '', ''), (_('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'))), '', ''), (_('Cached Commit date'), c.rhodecode_db_repo.changeset_cache.get('date'), '', ''), (_('Cached Commit data'), lambda: h.link_to('refresh now', h.current_route_path(request, update_commit_cache=1)), '', ''), (_('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]), (_('Attached Artifacts'), len(c.rhodecode_db_repo.artifacts), '', ''), ] %>
${_('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.')} |
||
${_ungettext('This repository has %s attached artifact.', 'This repository has %s attached artifacts.', attached_artifacts) % attached_artifacts}
${_('Consider to archive this repository instead.')} |