diff options
Diffstat (limited to 'app/views/projects/ci/lints/_create.html.haml')
-rw-r--r-- | app/views/projects/ci/lints/_create.html.haml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/app/views/projects/ci/lints/_create.html.haml b/app/views/projects/ci/lints/_create.html.haml index 59b5b9f8a30..6e974f14523 100644 --- a/app/views/projects/ci/lints/_create.html.haml +++ b/app/views/projects/ci/lints/_create.html.haml @@ -1,8 +1,9 @@ - if @status - %p - %b= _("Status:") - = _("syntax is correct") - %i.fa.fa-ok.correct-syntax + .bs-callout.bs-callout-success + %p + %b= _("Status:") + = _("syntax is correct") + %i.fa.fa-ok.correct-syntax .table-holder %table.table.table-bordered @@ -40,9 +41,10 @@ %b= _("Allowed to fail") - else - %p - %b= _("Status:") - = _("syntax is incorrect") - %i.fa.fa-remove.incorrect-syntax - %b= _("Error:") - = @error + .bs-callout.bs-callout-danger + %p + %b= _("Status:") + = _("syntax is incorrect") + %i.fa.fa-remove.incorrect-syntax + %pre + = @error |