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

4 lines
139 B
Text
Raw Normal View History

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