2020-06-22 12:08:47 +00:00
|
|
|
- page_title _("Service Templates")
|
2015-02-12 01:34:41 +00:00
|
|
|
%h3.page-title Service templates
|
2020-03-30 21:08:01 +00:00
|
|
|
%p.light= s_('AdminSettings|Service template allows you to set default values for integrations')
|
2015-02-12 01:34:41 +00:00
|
|
|
|
2015-10-19 09:19:45 +00:00
|
|
|
.table-holder
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
|
|
|
%th Service
|
|
|
|
%th Description
|
|
|
|
%th Last edit
|
2020-03-27 18:07:48 +00:00
|
|
|
- @services.each do |service|
|
2020-06-20 00:08:42 +00:00
|
|
|
- if service.type.in?(@existing_instance_types)
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
%td
|
|
|
|
= link_to edit_admin_application_settings_integration_path(service.to_param), class: 'gl-text-blue-300!' do
|
|
|
|
%strong.has-tooltip{ title: s_('AdminSettings|Moved to integrations'), data: { container: 'body' } }
|
|
|
|
= service.title
|
|
|
|
%td.gl-cursor-default.gl-text-gray-600
|
|
|
|
= service.description
|
|
|
|
%td
|
|
|
|
- else
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= boolean_to_icon service.activated?
|
|
|
|
%td
|
|
|
|
= link_to edit_admin_application_settings_service_path(service.id) do
|
|
|
|
%strong= service.title
|
|
|
|
%td
|
|
|
|
= service.description
|
|
|
|
%td.light
|
|
|
|
= time_ago_with_tooltip service.updated_at
|