summaryrefslogtreecommitdiff
path: root/app/Template/notification/task_creation.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
commit34d7450d3c13342715e90ec21bceaa13e1baa876 (patch)
treea2d8f2f22ad3fe9b56f01fe2db0357f9b963e660 /app/Template/notification/task_creation.php
parent88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (diff)
Template helpers refactoring
Diffstat (limited to 'app/Template/notification/task_creation.php')
-rw-r--r--app/Template/notification/task_creation.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/notification/task_creation.php b/app/Template/notification/task_creation.php
index 99ebcbe5..dfd3e591 100644
--- a/app/Template/notification/task_creation.php
+++ b/app/Template/notification/task_creation.php
@@ -1,4 +1,4 @@
-<h2><?= Helper\escape($task['title']) ?> (#<?= $task['id'] ?>)</h2>
+<h2><?= $this->e($task['title']) ?> (#<?= $task['id'] ?>)</h2>
<ul>
<li>
@@ -25,19 +25,19 @@
</li>
<li>
<?= t('Column on the board:') ?>
- <strong><?= Helper\escape($task['column_title']) ?></strong>
+ <strong><?= $this->e($task['column_title']) ?></strong>
</li>
- <li><?= t('Task position:').' '.Helper\escape($task['position']) ?></li>
+ <li><?= t('Task position:').' '.$this->e($task['position']) ?></li>
<?php if ($task['category_name']): ?>
<li>
- <?= t('Category:') ?> <strong><?= Helper\escape($task['category_name']) ?></strong>
+ <?= t('Category:') ?> <strong><?= $this->e($task['category_name']) ?></strong>
</li>
<?php endif ?>
</ul>
<?php if (! empty($task['description'])): ?>
<h2><?= t('Description') ?></h2>
- <?= Helper\markdown($task['description']) ?>
+ <?= $this->markdown($task['description']) ?>
<?php endif ?>
-<?= Helper\template('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file
+<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?> \ No newline at end of file