##// END OF EJS Templates
files: add pre-commit checks on file operations to prevent loosing content while editing when repositories change....
files: add pre-commit checks on file operations to prevent loosing content while editing when repositories change. - fixes #5607

File last commit:

r2333:c9f5d931 default
r4302:4c157b04 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;
repo-groups: moved to pyramid
r2175 ${h.link_to(_('Repository Groups'),h.route_path('repo_groups'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
repo-groups: moved to pyramid
r2175 ${h.link_to(c.repo_group.group_name,h.route_path('edit_repo_group', repo_group_name=c.repo_group.group_name))}
templating: use .mako as extensions for template files.
r1282 &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;
admin: ported settings controller to pyramid....
r2333 ${h.link_to(_('Settings'),h.route_path('admin_settings'))}
templating: use .mako as extensions for template files.
r1282 &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>