2016-06-16 23:09:34 +05:30
|
|
|
.row.prepend-top-default.append-bottom-default
|
2017-09-10 17:25:29 +05:30
|
|
|
.col-lg-4
|
2016-06-16 23:09:34 +05:30
|
|
|
%h4.prepend-top-0
|
|
|
|
Project services
|
|
|
|
%p Project services allow you to integrate GitLab with other applications
|
2017-09-10 17:25:29 +05:30
|
|
|
.col-lg-8
|
2016-06-16 23:09:34 +05:30
|
|
|
%table.table
|
|
|
|
%colgroup
|
|
|
|
%col
|
|
|
|
%col
|
|
|
|
%col.hidden-xs
|
|
|
|
%col{ width: "120" }
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
|
|
|
%th Service
|
|
|
|
%th.hidden-xs Description
|
|
|
|
%th Last edit
|
|
|
|
- @services.sort_by(&:title).each do |service|
|
|
|
|
%tr
|
2017-08-17 22:00:37 +05:30
|
|
|
%td{ "aria-label" => "#{service.title}: status " + (service.activated? ? "on" : "off") }
|
2016-06-16 23:09:34 +05:30
|
|
|
= boolean_to_icon service.activated?
|
|
|
|
%td
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to edit_project_service_path(@project, service.to_param) do
|
2016-06-16 23:09:34 +05:30
|
|
|
%strong= service.title
|
|
|
|
%td.hidden-xs
|
|
|
|
= service.description
|
|
|
|
%td.light
|
2017-08-17 22:00:37 +05:30
|
|
|
- if service.updated_at.present?
|
|
|
|
= time_ago_in_words service.updated_at
|
|
|
|
ago
|