summaryrefslogtreecommitdiff
path: root/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
blob: 0a66d60accc76d24387867885ad40eb146753f00 (plain)
1
2
3
4
5
6
7
8
9
- if subject.target_url
  = link_to subject.target_url do
    %span.ci-status-icon
      = render_status_with_link('commit status', subject.status)
    %span.ci-status-text= subject.name
- else
  %span.ci-status-icon
    = render_status_with_link('commit status', subject.status)
  %span.ci-status-text= subject.name