summaryrefslogtreecommitdiff
path: root/app/Template/subtask/table.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-04 20:10:34 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-04 20:10:34 -0500
commit8f3e2b2e5c62a6130f6c8867ab335fb4c1a32c5c (patch)
treece28cdc2dba9c31560ef753ac1b4dc39d567b7a6 /app/Template/subtask/table.php
parentf32507d423c46e8e9612b5239728e6c617e4cbcb (diff)
Helper refactoring
Diffstat (limited to 'app/Template/subtask/table.php')
-rw-r--r--app/Template/subtask/table.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/subtask/table.php b/app/Template/subtask/table.php
index 13d2c7cc..0af02dcf 100644
--- a/app/Template/subtask/table.php
+++ b/app/Template/subtask/table.php
@@ -26,18 +26,18 @@
</td>
<td>
<?php if (! empty($subtask['username'])): ?>
- <?= $this->e($subtask['name'] ?: $subtask['username']) ?>
+ <?= $this->text->e($subtask['name'] ?: $subtask['username']) ?>
<?php endif ?>
</td>
<td>
<ul class="no-bullet">
<li>
<?php if (! empty($subtask['time_spent'])): ?>
- <strong><?= $this->e($subtask['time_spent']).'h' ?></strong> <?= t('spent') ?>
+ <strong><?= $this->text->e($subtask['time_spent']).'h' ?></strong> <?= t('spent') ?>
<?php endif ?>
<?php if (! empty($subtask['time_estimated'])): ?>
- <strong><?= $this->e($subtask['time_estimated']).'h' ?></strong> <?= t('estimated') ?>
+ <strong><?= $this->text->e($subtask['time_estimated']).'h' ?></strong> <?= t('estimated') ?>
<?php endif ?>
</li>
<?php if ($editable && $subtask['user_id'] == $this->user->getId()): ?>