summaryrefslogtreecommitdiff
path: root/app/Template/layout.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-08 17:37:13 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-08 17:37:13 -0500
commitd634a53e9c2c9b5c4dac6c701557f6b69dc06213 (patch)
tree20f40bd7e54a460778b3f47f8162d41319e63665 /app/Template/layout.php
parent92509c43c452daea115a4f6e99d94bda5538c8f0 (diff)
Update moment.js and add timezone in template
Diffstat (limited to 'app/Template/layout.php')
-rw-r--r--app/Template/layout.php6
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: ?>