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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
203 B
Text
Raw Normal View History

2022-03-02 08:16:31 +05:30
- badge_variant = hook_log.success? ? :success : :danger
- badge_text = hook_log.internal_error? ? _('Error') : hook_log.response_status
= gl_badge_tag badge_text, { variant: badge_variant, size: :sm }