summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-03-15 16:08:32 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-03-15 16:24:51 +0100
commit89e50a0264c4651b9c2f4ac2981b9b1d95de2875 (patch)
tree43e741aed016c17881abcc8d3054a514b1595565
parentc96e037dcbe127c6525058a7884fc7c5f2708979 (diff)
downloadgitlab-ce-ci-fix-double-borders.tar.gz
Use klass instead of clazzci-fix-double-borders
-rw-r--r--app/helpers/ci_status_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb
index 391d74ebdbf..8b1575d5e0c 100644
--- a/app/helpers/ci_status_helper.rb
+++ b/app/helpers/ci_status_helper.rb
@@ -14,11 +14,11 @@ module CiStatusHelper
def ci_status_with_icon(status, target = nil)
content = ci_icon_for_status(status) + '&nbsp;'.html_safe + ci_label_for_status(status)
- clazz = "ci-status ci-#{status}"
+ klass = "ci-status ci-#{status}"
if target
- link_to content, target, class: clazz
+ link_to content, target, class: klass
else
- content_tag :span, content, class: clazz
+ content_tag :span, content, class: klass
end
end