summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorMax Kamashev <kamashev@gollard.ru>2015-09-24 12:07:40 +0300
committerMax Kamashev <kamashev@gollard.ru>2015-09-24 12:07:40 +0300
commit3f5b636c998171837fc2265f760359b421d67b61 (patch)
treea505f4f1767efff50224b649e647a02ae3638e12 /app/Template
parent5b2e49d2945ce2c1daaf4dd78746a910eab9c9c8 (diff)
parent1b0b69a43f7528fd5188d4b48216c6fa7e32eac3 (diff)
Merge branch 'master' of https://github.com/ukko/kanboard into 1245_bug_with_subtask_timer
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/layout.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php
index 49ac2a08..20582952 100644
--- a/app/Template/layout.php
+++ b/app/Template/layout.php
@@ -21,6 +21,9 @@
<?= $this->asset->css('assets/css/print.css', true, 'print') ?>
<?= $this->asset->customCss() ?>
+ <?= $this->hook->asset('css', 'template:layout:css') ?>
+ <?= $this->hook->asset('js', 'template:layout:js') ?>
+
<link rel="icon" type="image/png" href="<?= $this->url->dir() ?>assets/img/favicon.png">
<link rel="apple-touch-icon" href="<?= $this->url->dir() ?>assets/img/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="72x72" href="<?= $this->url->dir() ?>assets/img/touch-icon-ipad.png">
@@ -44,7 +47,7 @@
<?= $this->render('header', array(
'title' => $title,
'description' => isset($description) ? $description : '',
- 'board_selector' => $board_selector,
+ 'board_selector' => isset($board_selector) ? $board_selector : array(),
)) ?>
<section class="page">
<?= $this->app->flashMessage() ?>