summaryrefslogtreecommitdiff
path: root/app/views/ci/status/_badge.html.haml
blob: c00ddd183fbb6445090acb4a5c259e24980a54f1 (plain)
1
2
3
4
5
6
7
8
- 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