##// END OF EJS Templates
release: merge back stable branch into default
release: merge back stable branch into default

File last commit:

r3566:007450ec new-ui
r3843:957c2342 merge default
Show More
base.mako
36 lines | 821 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%!
def inherit(context):
if context['c'].repo:
return "/admin/repos/repo_edit.mako"
elif context['c'].repo_group:
return "/admin/repo_groups/repo_group_edit.mako"
else:
nav: updated navigation entries for admin...
r3565 return "/admin/integrations/global.mako"
templating: use .mako as extensions for template files.
r1282 %>
<%inherit file="${inherit(context)}" />
<%def name="title()">
${_('Integrations Settings')}
%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;
${_('Integrations')}
</%def>
<%def name="menu_bar_nav()">
%if c.repo:
${self.menu_items(active='repositories')}
%else:
${self.menu_items(active='admin')}
%endif
</%def>
<%def name="main_content()">
${next.body()}
</%def>