summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) + ' '.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