diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-18 22:33:24 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-18 22:33:24 -0400 |
commit | 9ba3daca66a0dc302aa4c2175f7ec814a5f8dca0 (patch) | |
tree | bd81a41e4d3a4c41e53900ca78e46f8d9391cda5 | |
parent | 308dda3ac4714b26d8fbe5566ec88abbfbeadf78 (diff) |
Improve pull-request #907
-rw-r--r-- | CONTRIBUTORS.md | 1 | ||||
-rw-r--r-- | app/Template/board/task_footer.php | 2 | ||||
-rw-r--r-- | app/Template/task/details.php | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 860e9370..99f6414c 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -21,6 +21,7 @@ Contributors: - [David-Norris](https://github.com/David-Norris) - [Draza (bdpsoft)](https://github.com/bdpsoft) - [Esteban Monge](https://github.com/EstebanMonge) +- [Fábio Hideki](https://github.com/fabiohxcx) - [Federico Lazcano](https://github.com/lazki) - [Fengchao](https://github.com/fengchao) - [Floaltvater](https://github.com/floaltvater) 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> |