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

4 lines
202 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
- label_status = hook_log.success? ? 'badge-success' : 'badge-danger'
2021-11-18 22:05:49 +05:30
%span{ class: "badge badge-pill gl-badge sm #{label_status}" }
2020-03-13 15:44:24 +05:30
= hook_log.internal_error? ? _('Error') : hook_log.response_status