- if status.has_details?
  = link_to status.details_path, class: "ci-status ci-#{status}" do
    = custom_icon(status.icon)
    = status.text
- else
  %span{ class: "ci-status ci-#{status}" }
    = custom_icon(status.icon)
    = detailed_status.text

- if status.has_details?
  = link_to status.details_path, class: "ci-status ci-#{status}" do
    = custom_icon(status.icon)
    = status.text
- else
  %span{ class: "ci-status ci-#{status}" }
    = custom_icon(status.icon)
    = status.text

Fix detailed status badge for generic commit status
Fix detailed status badge for generic commit status

[ci skip]
