##// END OF EJS Templates
tests: fixed tests for random dict order could sometimes break the tests
tests: fixed tests for random dict order could sometimes break the tests

File last commit:

r1990:32399c6a default
r2112:1550916c default
Show More
form.mako
69 lines | 2.4 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="breadcrumbs_links()">
%if c.repo:
repo-settings: converted repo settings to pyramid...
r1716 ${h.link_to('Settings',h.route_path('edit_repo', repo_name=c.repo.repo_name))}
templating: use .mako as extensions for template files.
r1282 &raquo;
${h.link_to(_('Integrations'),request.route_url(route_name='repo_integrations_home', repo_name=c.repo.repo_name))}
&raquo;
integrations: rewrote usage of pylons components inside integrations....
r1990 ${h.link_to(c.current_IntegrationType.display_name,
templating: use .mako as extensions for template files.
r1282 request.route_url(route_name='repo_integrations_list',
repo_name=c.repo.repo_name,
integrations: rewrote usage of pylons components inside integrations....
r1990 integration=c.current_IntegrationType.key))}
templating: use .mako as extensions for template files.
r1282 %elif c.repo_group:
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;
${h.link_to(_('Repository Groups'),h.url('repo_groups'))}
&raquo;
${h.link_to(c.repo_group.group_name,h.url('edit_repo_group', group_name=c.repo_group.group_name))}
&raquo;
${h.link_to(_('Integrations'),request.route_url(route_name='repo_group_integrations_home', repo_group_name=c.repo_group.group_name))}
&raquo;
integrations: rewrote usage of pylons components inside integrations....
r1990 ${h.link_to(c.current_IntegrationType.display_name,
templating: use .mako as extensions for template files.
r1282 request.route_url(route_name='repo_group_integrations_list',
repo_group_name=c.repo_group.group_name,
integrations: rewrote usage of pylons components inside integrations....
r1990 integration=c.current_IntegrationType.key))}
templating: use .mako as extensions for template files.
r1282 %else:
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;
${h.link_to(_('Settings'),h.url('admin_settings'))}
&raquo;
${h.link_to(_('Integrations'),request.route_url(route_name='global_integrations_home'))}
&raquo;
integrations: rewrote usage of pylons components inside integrations....
r1990 ${h.link_to(c.current_IntegrationType.display_name,
templating: use .mako as extensions for template files.
r1282 request.route_url(route_name='global_integrations_list',
integrations: rewrote usage of pylons components inside integrations....
r1990 integration=c.current_IntegrationType.key))}
templating: use .mako as extensions for template files.
r1282 %endif
integrations: rewrote usage of pylons components inside integrations....
r1990 %if c.integration:
templating: use .mako as extensions for template files.
r1282 &raquo;
integrations: rewrote usage of pylons components inside integrations....
r1990 ${c.integration.name}
%elif c.current_IntegrationType:
templating: use .mako as extensions for template files.
r1282 &raquo;
integrations: rewrote usage of pylons components inside integrations....
r1990 ${c.current_IntegrationType.display_name}
templating: use .mako as extensions for template files.
r1282 %endif
</%def>
<style>
.control-inputs.item-options, .control-inputs.item-settings {
float: left;
width: 100%;
}
</style>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">
integrations: rewrote usage of pylons components inside integrations....
r1990 %if c.integration:
${c.current_IntegrationType.display_name} - ${c.integration.name}
templating: use .mako as extensions for template files.
r1282 %else:
${_('Create New %(integration_type)s Integration') % {
integrations: rewrote usage of pylons components inside integrations....
r1990 'integration_type': c.current_IntegrationType.display_name
templating: use .mako as extensions for template files.
r1282 }}
%endif
</h2>
</div>
<div class="panel-body">
integrations: rewrote usage of pylons components inside integrations....
r1990 ${c.form.render() | n}
templating: use .mako as extensions for template files.
r1282 </div>
</div>