summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/task_footer.php4
-rw-r--r--app/Template/task/details.php5
2 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 5945d5af..e191dca7 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -58,4 +58,8 @@
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>
<?php endif ?>
+
+ <?php if (! empty($task['time_estimated'])): ?>
+ <strong><?= $this->e($task['time_estimated']).'h' ?> <?= t('estimated') ?></strong>
+ <?php endif ?>
</div>
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index f688585a..7a99371f 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -9,6 +9,11 @@
<strong><?= t('Reference: %s', $task['reference']) ?></strong>
</li>
<?php endif ?>
+ <?php if ($task['swimlane_id']): ?>
+ <li>
+ <?= t('Swimlane: %s ', $this->swimlane->getNameById($task['swimlane_id'])) ?>
+ </li>
+ <?php endif ?>
<li>
<?= dt('Created on %B %e, %Y at %k:%M %p', $task['date_creation']) ?>
</li>