2016-05-17 05:38:01 -04:00
|
|
|
.row.prepend-top-default.append-bottom-default
|
2017-06-09 07:06:35 -04:00
|
|
|
.col-lg-4
|
2016-05-17 05:38:01 -04:00
|
|
|
%h4.prepend-top-0
|
2018-06-14 04:47:38 -04:00
|
|
|
= s_("ProjectService|Project services")
|
|
|
|
%p= s_("ProjectService|Project services allow you to integrate GitLab with other applications")
|
2017-06-09 07:06:35 -04:00
|
|
|
.col-lg-8
|
2016-05-26 04:15:56 -04:00
|
|
|
%table.table
|
|
|
|
%colgroup
|
|
|
|
%col
|
|
|
|
%col
|
2018-06-18 15:18:09 -04:00
|
|
|
%col
|
2016-05-26 04:15:56 -04:00
|
|
|
%col{ width: "120" }
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
2018-06-14 04:47:38 -04:00
|
|
|
%th= s_("ProjectService|Service")
|
|
|
|
%th.d-none.d-sm-block= _("Description")
|
|
|
|
%th= s_("ProjectService|Last edit")
|
2016-05-26 04:15:56 -04:00
|
|
|
- @services.sort_by(&:title).each do |service|
|
|
|
|
%tr
|
2018-06-14 04:47:38 -04:00
|
|
|
%td{ "aria-label" => (service.activated? ? s_("ProjectService|%{service_title}: status on") : s_("ProjectService|%{service_title}: status off")) % { service_title: service.title } }
|
2016-05-26 04:15:56 -04:00
|
|
|
= boolean_to_icon service.activated?
|
|
|
|
%td
|
2017-06-29 13:06:35 -04:00
|
|
|
= link_to edit_project_service_path(@project, service.to_param) do
|
2016-05-26 04:15:56 -04:00
|
|
|
%strong= service.title
|
2018-04-09 17:50:40 -04:00
|
|
|
%td.d-none.d-sm-block
|
2016-05-26 04:15:56 -04:00
|
|
|
= service.description
|
|
|
|
%td.light
|
2016-11-16 06:46:07 -05:00
|
|
|
- if service.updated_at.present?
|
2018-04-25 11:58:56 -04:00
|
|
|
= time_ago_with_tooltip service.updated_at
|