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

4 lines
179 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
- label_status = hook_log.success? ? 'badge-success' : 'badge-danger'
2020-03-09 13:42:32 +05:30
%span{ class: "badge #{label_status}" }
= hook_log.internal_error? ? _('Error') : hook_log.response_status