debian-mirror-gitlab/app/views/shared/hook_logs/_status_label.html.haml

4 lines
139 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- label_status = hook_log.success? ? 'label-success' : 'label-danger'
%span{ class: "label #{label_status}" }
= hook_log.response_status