##// END OF EJS Templates
caches: introduce cache_ver for permissions in order to be able to invalidate caches if cached code changes
caches: introduce cache_ver for permissions in order to be able to invalidate caches if cached code changes

File last commit:

r4062:42f2ce8c default
r4155:25179029 default
Show More
repo_group_edit.mako
44 lines | 1.5 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('%s repository group settings') % c.repo_group.name}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
dan
search: new UI for search, and repo group context search...
r3442 <%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
templating: use .mako as extensions for template files.
r1282 </%def>
dan
search: new UI for search, and repo group context search...
r3442 <%def name="menu_bar_subnav()">
ui: moved group settings outside
r3567 ${self.repo_group_menu(active='settings')}
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="main_content()">
<%include file="/admin/repo_groups/repo_group_edit_${c.active}.mako"/>
</%def>
<%def name="main()">
dan
search: new UI for search, and repo group context search...
r3442
templating: use .mako as extensions for template files.
r1282 <div class="box">
<div class="sidebar-col-wrapper">
##main
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
templates: use a single helper to select activated menu entries in templates.
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>
<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)}">${_('Permissions')}</a></li>
<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>
templating: use .mako as extensions for template files.
r1282 </ul>
</div>
<div class="main-content-full-width">
${self.main_content()}
</div>
</div>
</div>
dan
search: new UI for search, and repo group context search...
r3442
templating: use .mako as extensions for template files.
r1282 </%def>