repo_edit.mako
103 lines
| 4.0 KiB
| application/x-mako
|
MakoHtmlLexer
r1282 | ## -*- coding: utf-8 -*- | ||
## | |||
## See also repo_settings.html | |||
## | |||
<%inherit file="/base/base.mako"/> | |||
<%def name="title()"> | |||
r4062 | ${_('{} repository settings').format(c.rhodecode_db_repo.repo_name)} | ||
r1282 | %if c.rhodecode_name: | ||
· ${h.branding(c.rhodecode_name)} | |||
%endif | |||
</%def> | |||
<%def name="breadcrumbs_links()"> | |||
${_('Settings')} | |||
</%def> | |||
<%def name="menu_bar_nav()"> | |||
${self.menu_items(active='repositories')} | |||
</%def> | |||
<%def name="menu_bar_subnav()"> | |||
r3567 | ${self.repo_menu(active='settings')} | ||
r1282 | </%def> | ||
<%def name="main_content()"> | |||
r1769 | % if hasattr(c, 'repo_edit_template'): | ||
<%include file="${c.repo_edit_template}"/> | |||
% else: | |||
<%include file="/admin/repos/repo_edit_${c.active}.mako"/> | |||
% endif | |||
r1282 | </%def> | ||
<%def name="main()"> | |||
<div class="box"> | |||
<div class="sidebar-col-wrapper scw-small"> | |||
<div class="sidebar"> | |||
<ul class="nav nav-pills nav-stacked"> | |||
r4062 | <li class="${h.is_active('settings', c.active)}"> | ||
r1716 | <a href="${h.route_path('edit_repo', repo_name=c.repo_name)}">${_('Settings')}</a> | ||
r1282 | </li> | ||
r4062 | <li class="${h.is_active('permissions', c.active)}"> | ||
<a href="${h.route_path('edit_repo_perms', repo_name=c.repo_name)}">${_('Access Permissions')}</a> | |||
r1282 | </li> | ||
r4062 | <li class="${h.is_active('permissions_branch', c.active)}"> | ||
r2975 | <a href="${h.route_path('edit_repo_perms_branch', repo_name=c.repo_name)}">${_('Branch Permissions')}</a> | ||
</li> | |||
r4062 | <li class="${h.is_active('advanced', c.active)}"> | ||
r1751 | <a href="${h.route_path('edit_repo_advanced', repo_name=c.repo_name)}">${_('Advanced')}</a> | ||
r1282 | </li> | ||
r4062 | <li class="${h.is_active('vcs', c.active)}"> | ||
r2014 | <a href="${h.route_path('edit_repo_vcs', repo_name=c.repo_name)}">${_('VCS')}</a> | ||
r1282 | </li> | ||
r4062 | <li class="${h.is_active('fields', c.active)}"> | ||
r2014 | <a href="${h.route_path('edit_repo_fields', repo_name=c.repo_name)}">${_('Extra Fields')}</a> | ||
r1282 | </li> | ||
r4062 | <li class="${h.is_active('issuetracker', c.active)}"> | ||
r2014 | <a href="${h.route_path('edit_repo_issuetracker', repo_name=c.repo_name)}">${_('Issue Tracker')}</a> | ||
r1282 | </li> | ||
r4062 | <li class="${h.is_active('caches', c.active)}"> | ||
r1722 | <a href="${h.route_path('edit_repo_caches', repo_name=c.repo_name)}">${_('Caches')}</a> | ||
r1282 | </li> | ||
r2081 | %if c.rhodecode_db_repo.repo_type != 'svn': | ||
r4062 | <li class="${h.is_active('remote', c.active)}"> | ||
r2562 | <a href="${h.route_path('edit_repo_remote', repo_name=c.repo_name)}">${_('Remote sync')}</a> | ||
r1282 | </li> | ||
%endif | |||
r4062 | <li class="${h.is_active('statistics', c.active)}"> | ||
r2014 | <a href="${h.route_path('edit_repo_statistics', repo_name=c.repo_name)}">${_('Statistics')}</a> | ||
r1282 | </li> | ||
r4062 | <li class="${h.is_active('integrations', c.active)}"> | ||
r1282 | <a href="${h.route_path('repo_integrations_home', repo_name=c.repo_name)}">${_('Integrations')}</a> | ||
</li> | |||
r2081 | %if c.rhodecode_db_repo.repo_type != 'svn': | ||
r4062 | <li class="${h.is_active('reviewers', c.active)}"> | ||
r1725 | <a href="${h.route_path('repo_reviewers', repo_name=c.repo_name)}">${_('Reviewer Rules')}</a> | ||
</li> | |||
%endif | |||
r4062 | <li class="${h.is_active('automation', c.active)}"> | ||
r2565 | <a href="${h.route_path('repo_automation', repo_name=c.repo_name)}">${_('Automation')}</a> | ||
</li> | |||
r4062 | <li class="${h.is_active('maintenance', c.active)}"> | ||
r2014 | <a href="${h.route_path('edit_repo_maintenance', repo_name=c.repo_name)}">${_('Maintenance')}</a> | ||
r1555 | </li> | ||
r4062 | <li class="${h.is_active('strip', c.active)}"> | ||
r2014 | <a href="${h.route_path('edit_repo_strip', repo_name=c.repo_name)}">${_('Strip')}</a> | ||
Bartłomiej Wołyńczyk
|
r1587 | </li> | |
r4062 | <li class="${h.is_active('audit', c.active)}"> | ||
r2156 | <a href="${h.route_path('edit_repo_audit_logs', repo_name=c.repo_name)}">${_('Audit logs')}</a> | ||
</li> | |||
r1725 | |||
r1282 | </ul> | ||
</div> | |||
<div class="main-content-full-width"> | |||
${self.main_content()} | |||
</div> | |||
</div> | |||
</div> | |||
</%def> |