debian-mirror-gitlab/app/views/shared/hook_logs/_status_label.html.haml
2020-03-13 15:44:24 +05:30

3 lines
179 B
Text

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