##// END OF EJS Templates
pyro4: Add the custom header `X-RhodeCode-Backend` to the pyro4 backend responses....
pyro4: Add the custom header `X-RhodeCode-Backend` to the pyro4 backend responses. This custom header sets the SCM backend which is in use. It is used to identify VCS responses in the error handler. VCS responses are skipped during error handling.

File last commit:

r667:b9ef2c10 default
r848:2956cade default
Show More
base.html
42 lines | 916 B | text/html | HtmlLexer
dan
integrations: add integration support...
r411 ## -*- coding: utf-8 -*-
<%!
def inherit(context):
if context['c'].repo:
return "/admin/repos/repo_edit.html"
dan
integrations: add repo group integrations, fixes #4175
r667 elif context['c'].repo_group:
return "/admin/repo_groups/repo_group_edit.html"
dan
integrations: add integration support...
r411 else:
return "/admin/settings/settings.html"
%>
<%inherit file="${inherit(context)}" />
<%def name="title()">
ux: additional capitalisation and string translation in integration templates
r646 ${_('Integrations Settings')}
dan
integrations: add integration support...
r411 %if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
&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="menu_bar_subnav()">
%if c.repo:
${self.repo_menu(active='options')}
%endif
</%def>
<%def name="main_content()">
${next.body()}
</%def>