* added db migration for integration table, version 55 * added integrations views/templates/models * added slack integration * added h.url.current() support for pyramid only contexts * added issues extractor for commit messages * renamed repo-deleted/repo-created to repo-delete/repo-create * removed marshmallow * added serialization for events to static dicts of data * added lazy_ugettext for translation of start time string
40 lines
823 B
HTML
40 lines
823 B
HTML
## -*- coding: utf-8 -*-
|
|
<%!
|
|
def inherit(context):
|
|
if context['c'].repo:
|
|
return "/admin/repos/repo_edit.html"
|
|
else:
|
|
return "/admin/settings/settings.html"
|
|
%>
|
|
<%inherit file="${inherit(context)}" />
|
|
|
|
<%def name="title()">
|
|
${_('Integrations settings')}
|
|
%if c.rhodecode_name:
|
|
· ${h.branding(c.rhodecode_name)}
|
|
%endif
|
|
</%def>
|
|
|
|
<%def name="breadcrumbs_links()">
|
|
${h.link_to(_('Admin'),h.url('admin_home'))}
|
|
»
|
|
${_('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>
|