##// END OF EJS Templates
packaging: Backport bower support utilities...
packaging: Backport bower support utilities To support nixos-16.03 the utilities to build bower components are backported inside of this PR. Once we switch to the new stable branch, we should be able to drop these pieces again.

File last commit:

r646:22553ba2 default
r725:57489056 default
Show More
edit.html
43 lines | 1.4 KiB | text/html | HtmlLexer
dan
integrations: add integration support...
r411 ## -*- 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))}
&raquo;
${h.link_to(_('Integrations'),request.route_url(route_name='repo_integrations_home', repo_name=c.repo.repo_name))}
&raquo;
${h.link_to(current_IntegrationType.display_name,
request.route_url(route_name='repo_integrations_list',
repo_name=c.repo.repo_name,
integration=current_IntegrationType.key))}
%else:
${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Settings'),h.url('admin_settings'))}
&raquo;
${h.link_to(_('Integrations'),request.route_url(route_name='global_integrations_home'))}
&raquo;
${h.link_to(current_IntegrationType.display_name,
request.route_url(route_name='global_integrations_list',
integration=current_IntegrationType.key))}
%endif
%if integration:
&raquo;
${integration.name}
%endif
</%def>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">
%if integration:
${current_IntegrationType.display_name} - ${integration.name}
%else:
ux: additional capitalisation and string translation in integration templates
r646 ${_('Create New %(integration_type)s Integration') % {'integration_type': current_IntegrationType.display_name}}
dan
integrations: add integration support...
r411 %endif
</h2>
</div>
dan
forms: add deform for integration settings forms
r518 <div class="panel-body">
dan
deform: use pypi deform library and add helpers to deform scope directly...
r519 ${form.render() | n}
dan
integrations: add integration support...
r411 </div>
dan
forms: add deform for integration settings forms
r518 </div>