Commit 89e50a02 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Use klass instead of clazz

parent c96e037d
...@@ -14,11 +14,11 @@ module CiStatusHelper ...@@ -14,11 +14,11 @@ module CiStatusHelper
def ci_status_with_icon(status, target = nil) def ci_status_with_icon(status, target = nil)
content = ci_icon_for_status(status) + ' '.html_safe + ci_label_for_status(status) 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 if target
link_to content, target, class: clazz link_to content, target, class: klass
else else
content_tag :span, content, class: clazz content_tag :span, content, class: klass
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment