6679a9062a
Update changelog description Changes after review
12 lines
353 B
Text
12 lines
353 B
Text
- status = local_assigns.fetch(:status)
|
|
- link = local_assigns.fetch(:link, true)
|
|
- css_classes = "ci-status ci-#{status.group}"
|
|
|
|
- if link && status.has_details?
|
|
= link_to status.details_path, class: css_classes do
|
|
= custom_icon(status.icon)
|
|
= status.text
|
|
- else
|
|
%span{ class: css_classes }
|
|
= custom_icon(status.icon)
|
|
= status.text
|