diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-06-29 17:29:35 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-06-29 17:29:35 +0100 |
commit | 54b864348819f71de4475791aca806dac2f21beb (patch) | |
tree | ef9385d0803b42795698014c173f73781231d99a | |
parent | 8d1d9508a12398eec7f5a91e2383695a502833b0 (diff) | |
download | gitlab-ce-34461-top-banner-job.tar.gz |
Fix identation in haml file34461-top-banner-job
-rw-r--r-- | app/views/projects/jobs/show.html.haml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/app/views/projects/jobs/show.html.haml b/app/views/projects/jobs/show.html.haml index 69f135b6ef1..a45182d24e2 100644 --- a/app/views/projects/jobs/show.html.haml +++ b/app/views/projects/jobs/show.html.haml @@ -8,22 +8,22 @@ - if @build.stuck? - unless @build.any_runners_online? - .bs-callout.bs-callout-warning.js-build-stuck - %p - - if no_runners_for_project?(@build.project) - This job is stuck, because the project doesn't have any runners online assigned to it. - - elsif @build.tags.any? - This job is stuck, because you don't have any active runners online with any of these tags assigned to them: - - @build.tags.each do |tag| - %span.label.label-primary - = tag - - else - This job is stuck, because you don't have any active runners that can run this job. + .bs-callout.bs-callout-warning.js-build-stuck + %p + - if no_runners_for_project?(@build.project) + This job is stuck, because the project doesn't have any runners online assigned to it. + - elsif @build.tags.any? + This job is stuck, because you don't have any active runners online with any of these tags assigned to them: + - @build.tags.each do |tag| + %span.label.label-primary + = tag + - else + This job is stuck, because you don't have any active runners that can run this job. - %br - Go to - = link_to namespace_project_runners_path(@build.project.namespace, @build.project) do - Runners page + %br + Go to + = link_to namespace_project_runners_path(@build.project.namespace, @build.project) do + Runners page - if @build.starts_environment? .prepend-top-default.js-environment-container |