Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-03-15 18:08:32 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-03-15 18:24:51 +0300
commit89e50a0264c4651b9c2f4ac2981b9b1d95de2875 (patch)
tree43e741aed016c17881abcc8d3054a514b1595565 /app/helpers/ci_status_helper.rb
parentc96e037dcbe127c6525058a7884fc7c5f2708979 (diff)
Use klass instead of clazz
Diffstat (limited to 'app/helpers/ci_status_helper.rb')
-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