gitlab-org--gitlab-foss/app/views/projects/services/_index.html.haml

32 lines
993 B
Text
Raw Normal View History

2016-05-17 05:38:01 -04:00
.row.prepend-top-default.append-bottom-default
.col-lg-3
%h4.prepend-top-0
Project services
%p Project services allow you to integrate GitLab with other applications
.col-lg-9
2016-05-26 04:15:56 -04:00
%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
%td{ "aria-label" => "#{service.title}: status " + (service.activated? ? "on" : "off") }
2016-05-26 04:15:56 -04:00
= boolean_to_icon service.activated?
%td
= link_to edit_namespace_project_service_path(@project.namespace, @project, service.to_param) do
%strong= service.title
%td.hidden-xs
= service.description
%td.light
- if service.updated_at.present?
= time_ago_in_words service.updated_at
ago