## -*- coding: utf-8 -*- <%inherit file="base.html"/> <%def name="breadcrumbs_links()"> %if c.repo: ${h.link_to('Settings',h.url('edit_repo', repo_name=c.repo.repo_name))} %else: ${h.link_to(_('Admin'),h.url('admin_home'))} » ${h.link_to(_('Settings'),h.url('admin_settings'))} %endif %if current_IntegrationType: » %if c.repo: ${h.link_to(_('Integrations'), request.route_url(route_name='repo_integrations_home', repo_name=c.repo.repo_name))} %else: ${h.link_to(_('Integrations'), request.route_url(route_name='global_integrations_home'))} %endif » ${current_IntegrationType.display_name} %else: » ${_('Integrations')} %endif %def>
${_('Enabled')} | ${_('Description')} | ${_('Type')} | ${_('Actions')} | |
---|---|---|---|---|
%if integration.enabled: %else: %endif | ${integration.name} | ${integration.integration_type} | %if integration_type not in available_integrations: ${_('unknown integration')} %else: <% if c.repo: edit_url = request.route_path('repo_integrations_edit', repo_name=c.repo.repo_name, integration=integration.integration_type, integration_id=integration.integration_id) elif c.repo_group: edit_url = request.route_path('repo_group_integrations_edit', repo_group_name=c.repo_group.group_name, integration=integration.integration_type, integration_id=integration.integration_id) else: edit_url = request.route_path('global_integrations_edit', integration=integration.integration_type, integration_id=integration.integration_id) %> %endif | |