diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-15 13:00:53 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-15 13:00:53 -0400 |
commit | 108e867605dbc7ece4cbcbecc89a674e9c154a9b (patch) | |
tree | d9e0fed4a4a1efcc7faa2186c85ff62777b0fa68 /app | |
parent | 70c1df14db9f44c99844bcff411e357ea32fab26 (diff) |
Move Chosen images to the right directory and put back JS files in head
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/layout.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php index 811da9db..a80fc288 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -18,6 +18,11 @@ <?= $this->asset->css('assets/css/print.min.css', true, 'print') ?> <?= $this->asset->customCss() ?> + <?php if (! isset($not_editable)): ?> + <?= $this->asset->js('assets/js/vendor.min.js') ?> + <?= $this->asset->js('assets/js/app.min.js') ?> + <?php endif ?> + <?= $this->hook->asset('css', 'template:layout:css') ?> <?= $this->hook->asset('js', 'template:layout:js') ?> @@ -60,9 +65,5 @@ </section> <?= $this->hook->render('template:layout:bottom') ?> <?php endif ?> - <?php if (! isset($not_editable)): ?> - <?= $this->asset->js('assets/js/vendor.min.js') ?> - <?= $this->asset->js('assets/js/app.min.js') ?> - <?php endif ?> </body> </html> |