##// END OF EJS Templates
deps: msgpack==1.1.0
deps: msgpack==1.1.0

File last commit:

r5037:bd722d6e default
r5578:fb1ff85e default
Show More
user_group_edit.mako
46 lines | 1.8 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%inherit file="/base/base.mako"/>
<%def name="title()">
templates: use a single helper to select activated menu entries in templates.
r4062 ${_('{} user group settings').format(c.user_group.users_group_name)}
templating: use .mako as extensions for template files.
r1282 %if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
audit-logs: introduced new view to replace admin journal....
r1758 ${h.link_to(_('Admin'),h.route_path('admin_home'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
user-groups: rewrote the app to pyramid...
r2068 ${h.link_to(_('User Groups'),h.route_path('user_groups'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
${c.user_group.users_group_name}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
admin: show admin menus in add pages, and edit pages for users/groups/user groups
r3585 <%def name="menu_bar_subnav()">
${self.admin_menu(active='user_groups')}
</%def>
templating: use .mako as extensions for template files.
r1282 <%def name="main()">
<div class="box">
##main
<div class="sidebar-col-wrapper">
<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_user_group', user_group_id=c.user_group.users_group_id)}">${_('Settings')}</a></li>
<li class="${h.is_active('perms', c.active)}"><a href="${h.route_path('edit_user_group_perms', user_group_id=c.user_group.users_group_id)}">${_('Permissions')}</a></li>
<li class="${h.is_active('advanced', c.active)}"><a href="${h.route_path('edit_user_group_advanced', user_group_id=c.user_group.users_group_id)}">${_('Advanced')}</a></li>
<li class="${h.is_active('global_perms', c.active)}"><a href="${h.route_path('edit_user_group_global_perms', user_group_id=c.user_group.users_group_id)}">${_('Global permissions')}</a></li>
<li class="${h.is_active('perms_summary', c.active)}"><a href="${h.route_path('edit_user_group_perms_summary', user_group_id=c.user_group.users_group_id)}">${_('Permissions summary')}</a></li>
templating: use .mako as extensions for template files.
r1282 </ul>
</div>
<div class="main-content-full-width">
<%include file="/admin/user_groups/user_group_edit_${c.active}.mako"/>
</div>
</div>
</div>
</%def>