summaryrefslogtreecommitdiff
path: root/app/views/projects/services/_index.html.haml
blob: acbab8b85c984aeb7e60e97da5bf2f4038b0d9c9 (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
.row.prepend-top-default.append-bottom-default
  .col-lg-4
    %h4.prepend-top-0
      Project services
    %p Project services allow you to integrate GitLab with other applications
  .col-lg-8
    %table.table
      %colgroup
        %col
        %col
        %col.d-none.d-sm-block
        %col{ width: "120" }
      %thead
        %tr
          %th
          %th Service
          %th.d-none.d-sm-block Description
          %th Last edit
      - @services.sort_by(&:title).each do |service|
        %tr
          %td{ "aria-label" => "#{service.title}: status " + (service.activated? ? "on" : "off") }
            = boolean_to_icon service.activated?
          %td
            = link_to edit_project_service_path(@project, service.to_param) do
              %strong= service.title
          %td.d-none.d-sm-block
            = service.description
          %td.light
            - if service.updated_at.present?
              = time_ago_with_tooltip service.updated_at