summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/calendar/show.php3
-rw-r--r--app/Template/layout.php2
2 files changed, 2 insertions, 3 deletions
diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php
index a0bda008..b258e391 100644
--- a/app/Template/calendar/show.php
+++ b/app/Template/calendar/show.php
@@ -37,9 +37,8 @@
data-save-url="<?= $this->u('calendar', 'save', array('project_id' => $project['id'])) ?>"
data-check-url="<?= $this->u('calendar', 'events', array('project_id' => $project['id'])) ?>"
data-check-interval="<?= $check_interval ?>"
- data-translations='<?= $this->getCalendarTranslations() ?>'
>
</div>
</div>
</section>
-</section>
+</section> \ No newline at end of file
diff --git a/app/Template/layout.php b/app/Template/layout.php
index f04dad4b..0e44569e 100644
--- a/app/Template/layout.php
+++ b/app/Template/layout.php
@@ -25,7 +25,7 @@
<title><?= isset($title) ? $this->e($title) : 'Kanboard' ?></title>
</head>
- <body data-status-url="<?= $this->u('app', 'status') ?>" data-login-url="<?= $this->u('user', 'login') ?>">
+ <body data-status-url="<?= $this->u('app', 'status') ?>" data-login-url="<?= $this->u('user', 'login') ?>" data-js-lang="<?= $this->jsLang() ?>">
<?php if (isset($no_layout) && $no_layout): ?>
<?= $content_for_layout ?>
<?php else: ?>