summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Template/board/task_footer.php2
-rw-r--r--app/Template/task/details.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index e191dca7..55161921 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -60,6 +60,6 @@
<?php endif ?>
<?php if (! empty($task['time_estimated'])): ?>
- <strong><?= $this->e($task['time_estimated']).'h' ?> <?= t('estimated') ?></strong>
+ <span class="task-time-estimated" title="<?= t('Time estimated') ?>"><?= $this->e($task['time_estimated']).'h' ?></span>
<?php endif ?>
</div>
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index 7a99371f..e8fdf5cd 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -9,9 +9,9 @@
<strong><?= t('Reference: %s', $task['reference']) ?></strong>
</li>
<?php endif ?>
- <?php if ($task['swimlane_id']): ?>
+ <?php if (! empty($task['swimlane_name'])): ?>
<li>
- <?= t('Swimlane: %s ', $this->swimlane->getNameById($task['swimlane_id'])) ?>
+ <?= t('Swimlane: %s', $task['swimlane_name']) ?>
</li>
<?php endif ?>
<li>