adding time estimated in de task footer and swimlanes' name in the task details

This commit is contained in:
Fábio Hideki 2015-06-04 21:55:43 -03:00
parent 599b6624dd
commit efc7c13563
3 changed files with 10 additions and 0 deletions

View File

@ -111,6 +111,7 @@ class TaskFinder extends Base
'tasks.recurrence_basedate',
'tasks.recurrence_parent',
'tasks.recurrence_child',
'tasks.time_estimated',
'users.username AS assignee_username',
'users.name AS assignee_name'
)

View File

@ -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>

View File

@ -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>