repo_group_edit.mako
43 lines
| 1.5 KiB
| application/x-mako
|
MakoHtmlLexer
r1282 | <%inherit file="/base/base.mako"/> | |||
<%def name="title()"> | ||||
${_('%s repository group settings') % c.repo_group.name} | ||||
%if c.rhodecode_name: | ||||
· ${h.branding(c.rhodecode_name)} | ||||
%endif | ||||
</%def> | ||||
r3442 | <%def name="menu_bar_nav()"> | |||
${self.menu_items(active='admin')} | ||||
r1282 | </%def> | |||
r3442 | <%def name="menu_bar_subnav()"> | |||
r3567 | ${self.repo_group_menu(active='settings')} | |||
r1282 | </%def> | |||
<%def name="main_content()"> | ||||
<%include file="/admin/repo_groups/repo_group_edit_${c.active}.mako"/> | ||||
</%def> | ||||
<%def name="main()"> | ||||
r3442 | ||||
r1282 | <div class="box"> | |||
<div class="sidebar-col-wrapper"> | ||||
##main | ||||
<div class="sidebar"> | ||||
<ul class="nav nav-pills nav-stacked"> | ||||
r4062 | <li class="${h.is_active('settings', c.active)}"><a href="${h.route_path('edit_repo_group', repo_group_name=c.repo_group.group_name)}">${_('Settings')}</a></li> | |||
r4222 | <li class="${h.is_active('permissions', c.active)}"><a href="${h.route_path('edit_repo_group_perms', repo_group_name=c.repo_group.group_name)}">${_('Access Permissions')}</a></li> | |||
r4062 | <li class="${h.is_active('advanced', c.active)}"><a href="${h.route_path('edit_repo_group_advanced', repo_group_name=c.repo_group.group_name)}">${_('Advanced')}</a></li> | |||
<li class="${h.is_active('integrations', c.active)}"><a href="${h.route_path('repo_group_integrations_home', repo_group_name=c.repo_group.group_name)}">${_('Integrations')}</a></li> | ||||
r1282 | </ul> | |||
</div> | ||||
<div class="main-content-full-width"> | ||||
${self.main_content()} | ||||
</div> | ||||
</div> | ||||
</div> | ||||
r3442 | ||||
r1282 | </%def> | |||