Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-01-07 03:02:53 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2017-01-07 03:02:53 +0300
commit8032df64de4f397817e953500755c8628430f8e2 (patch)
tree43bdcad89f9aa4b7a1483c962526dd6cc7f447e1 /app/views
parentf4772b37c9fbccb72d1956e308313a8bb1dc8342 (diff)
Move specific javascript definition the top
Diffstat (limited to 'app/views')
-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')