summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-18 22:33:24 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-18 22:33:24 -0400
commit9ba3daca66a0dc302aa4c2175f7ec814a5f8dca0 (patch)
treebd81a41e4d3a4c41e53900ca78e46f8d9391cda5 /app
parent308dda3ac4714b26d8fbe5566ec88abbfbeadf78 (diff)
Improve pull-request #907
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>