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
|
2019-12-04 20:38:33 +05:30
|
|
|
= s_("ProjectService|Project services")
|
|
|
|
%p= s_("ProjectService|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
|
2018-11-08 19:23:39 +05:30
|
|
|
%col
|
2016-06-16 23:09:34 +05:30
|
|
|
%col{ width: "120" }
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
2019-12-04 20:38:33 +05:30
|
|
|
%th= s_("ProjectService|Service")
|
|
|
|
%th.d-none.d-sm-block= _("Description")
|
|
|
|
%th= s_("ProjectService|Last edit")
|
2016-06-16 23:09:34 +05:30
|
|
|
- @services.sort_by(&:title).each do |service|
|
|
|
|
%tr
|
2019-12-04 20:38:33 +05:30
|
|
|
%td{ "aria-label" => (service.activated? ? s_("ProjectService|%{service_title}: status on") : s_("ProjectService|%{service_title}: status off")) % { service_title: service.title } }
|
2016-06-16 23:09:34 +05:30
|
|
|
= boolean_to_icon service.activated?
|
|
|
|
%td
|
2019-12-26 22:10:19 +05:30
|
|
|
= link_to edit_project_service_path(@project, service.to_param), { data: { qa_selector: "#{service.title.downcase.gsub(/[\s\(\)]/,'_')}_link" } } do
|
2016-06-16 23:09:34 +05:30
|
|
|
%strong= service.title
|
2018-11-08 19:23:39 +05:30
|
|
|
%td.d-none.d-sm-block
|
2016-06-16 23:09:34 +05:30
|
|
|
= service.description
|
|
|
|
%td.light
|
2017-08-17 22:00:37 +05:30
|
|
|
- if service.updated_at.present?
|
2018-10-15 14:42:47 +05:30
|
|
|
= time_ago_with_tooltip service.updated_at
|