diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-10 12:07:47 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-10 12:07:47 +0000 |
commit | 96b0c1245c93585a8b0fe23e22306d32ff4e4905 (patch) | |
tree | d2904751e1a2529e8239381ce747339cdbf5116c /app/views/projects/ci/lints | |
parent | 0ba3a054d2190094ffda1ebe3aa53ffc5b92247d (diff) | |
download | gitlab-ce-96b0c1245c93585a8b0fe23e22306d32ff4e4905.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/ci/lints')
-rw-r--r-- | app/views/projects/ci/lints/_create.html.haml | 21 |
1 files changed, 11 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..d65c06aa2a4 100644 --- a/app/views/projects/ci/lints/_create.html.haml +++ b/app/views/projects/ci/lints/_create.html.haml @@ -1,8 +1,8 @@ - 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") .table-holder %table.table.table-bordered @@ -40,9 +40,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") + %pre + - @errors.each do |message| + %p= message |