diff options
Diffstat (limited to 'app/Template/layout.php')
-rw-r--r-- | app/Template/layout.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php index 0e44569e..9e85e9ae 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -25,7 +25,11 @@ <title><?= isset($title) ? $this->e($title) : 'Kanboard' ?></title> </head> - <body data-status-url="<?= $this->u('app', 'status') ?>" data-login-url="<?= $this->u('user', 'login') ?>" data-js-lang="<?= $this->jsLang() ?>"> + <body data-status-url="<?= $this->u('app', 'status') ?>" + data-login-url="<?= $this->u('user', 'login') ?>" + data-timezone="<?= $this->getTimezone() ?>" + data-js-lang="<?= $this->jsLang() ?>"> + <?php if (isset($no_layout) && $no_layout): ?> <?= $content_for_layout ?> <?php else: ?> |