debian-mirror-gitlab/app/views/shared/hook_logs/_status_label.html.haml
2021-11-18 22:05:49 +05:30

3 lines
202 B
Text

- label_status = hook_log.success? ? 'badge-success' : 'badge-danger'
%span{ class: "badge badge-pill gl-badge sm #{label_status}" }
= hook_log.internal_error? ? _('Error') : hook_log.response_status