summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-01-06 19:02:53 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2017-01-06 19:02:53 -0500
commit8032df64de4f397817e953500755c8628430f8e2 (patch)
tree43bdcad89f9aa4b7a1483c962526dd6cc7f447e1
parentf4772b37c9fbccb72d1956e308313a8bb1dc8342 (diff)
downloadgitlab-ce-didemacet-ci-lint-page.tar.gz
Move specific javascript definition the topdidemacet-ci-lint-page
-rw-r--r--app/views/ci/lints/show.html.haml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/ci/lints/show.html.haml b/app/views/ci/lints/show.html.haml
index 9af00319afa..95eb9a57152 100644
--- a/app/views/ci/lints/show.html.haml
+++ b/app/views/ci/lints/show.html.haml
@@ -1,5 +1,7 @@
- page_title "CI Lint"
- page_description "Validate your GitLab CI configuration file"
+- content_for :page_specific_javascripts do
+ = page_specific_javascript_tag('lib/ace.js')
%h2 Check your .gitlab-ci.yml
@@ -21,7 +23,3 @@
.col-sm-12
.results.ci-template
= render partial: 'create' if defined?(@status)
-
-
-- content_for :page_specific_javascripts do
- = page_specific_javascript_tag('lib/ace.js')