debian-mirror-gitlab/app/views/projects/services/_index.html.haml
2020-04-22 19:07:51 +05:30

30 lines
1.1 KiB
Text

.row.prepend-top-default
.col-lg-4
%h4.prepend-top-0
= _('Integrations')
%p= _('Integrations allow you to integrate GitLab with other applications')
.col-lg-8
%table.table
%colgroup
%col
%col
%col
%col{ width: "120" }
%thead
%tr
%th
%th= _('Integration')
%th.d-none.d-sm-block= _("Description")
%th= s_("ProjectService|Last edit")
- @services.sort_by(&:title).each do |service|
%tr
%td{ "aria-label" => (service.activated? ? s_("ProjectService|%{service_title}: status on") : s_("ProjectService|%{service_title}: status off")) % { service_title: service.title } }
= boolean_to_icon service.activated?
%td
= link_to edit_project_service_path(@project, service.to_param), { data: { qa_selector: "#{service.title.downcase.gsub(/[\s\(\)]/,'_')}_link" } } 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