adding time estimated in de task footer and swimlanes' name in the task details
This commit is contained in:
parent
599b6624dd
commit
efc7c13563
|
|
@ -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'
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue