Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html.haml « services « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 91706452402a08f7ff9ecf0d0d17c50145eee933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
- page_title _("Service Templates")
- @content_class = 'limit-container-width' unless fluid_layout

= render "service_templates_deprecated_alert"

- if @activated_services.any?
  %h3.page-title Service templates
  %p= s_('AdminSettings|Service template allows you to set default values for integrations')

  %table.table.b-table.gl-table
    %colgroup
      %col
      %col
      %col
      %col{ width: 135 }
    %thead
      %tr
        %th
        %th= _('Service')
        %th= _('Description')
        %th= _('Last edit')
    - @activated_services.each do |service|
      - 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-400
            = 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