summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-03-17 17:00:04 +0530
committerKushal Pandya <kushal@gitlab.com>2017-03-17 17:00:04 +0530
commita354fd7a600516a20635aa3c24d4160a96ee82b1 (patch)
tree39ecb295ea809f275c92114c6727ec19235b7bb5
parent419daaec8ec726607c4df1e2cd7c3c002c83d606 (diff)
downloadgitlab-ce-27503-feature-status-aria-labels.tar.gz
Add `aria-label` for Integration service status27503-feature-status-aria-labels
-rw-r--r--app/views/projects/services/_index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/services/_index.html.haml b/app/views/projects/services/_index.html.haml
index 964133504e6..86d5a0ec7b8 100644
--- a/app/views/projects/services/_index.html.haml
+++ b/app/views/projects/services/_index.html.haml
@@ -18,7 +18,7 @@
%th Last edit
- @services.sort_by(&:title).each do |service|
%tr
- %td
+ %td{ "aria-label" => "#{service.title}: status " + (service.activated? ? "on" : "off") }
= boolean_to_icon service.activated?
%td
= link_to edit_namespace_project_service_path(@project.namespace, @project, service.to_param) do