adding time estimated in de task footer and swimlanes' name in the task details
This commit is contained in:
@@ -111,6 +111,7 @@ class TaskFinder extends Base
|
|||||||
'tasks.recurrence_basedate',
|
'tasks.recurrence_basedate',
|
||||||
'tasks.recurrence_parent',
|
'tasks.recurrence_parent',
|
||||||
'tasks.recurrence_child',
|
'tasks.recurrence_child',
|
||||||
|
'tasks.time_estimated',
|
||||||
'users.username AS assignee_username',
|
'users.username AS assignee_username',
|
||||||
'users.name AS assignee_name'
|
'users.name AS assignee_name'
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -58,4 +58,8 @@
|
|||||||
<?php if ($task['score']): ?>
|
<?php if ($task['score']): ?>
|
||||||
<span class="task-score"><?= $this->e($task['score']) ?></span>
|
<span class="task-score"><?= $this->e($task['score']) ?></span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
|
<?php if (! empty($task['time_estimated'])): ?>
|
||||||
|
<strong><?= $this->e($task['time_estimated']).'h' ?> <?= t('estimated') ?></strong>
|
||||||
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,6 +9,11 @@
|
|||||||
<strong><?= t('Reference: %s', $task['reference']) ?></strong>
|
<strong><?= t('Reference: %s', $task['reference']) ?></strong>
|
||||||
</li>
|
</li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
<?php if ($task['swimlane_id']): ?>
|
||||||
|
<li>
|
||||||
|
<?= t('Swimlane: %s ', $this->swimlane->getNameById($task['swimlane_id'])) ?>
|
||||||
|
</li>
|
||||||
|
<?php endif ?>
|
||||||
<li>
|
<li>
|
||||||
<?= dt('Created on %B %e, %Y at %k:%M %p', $task['date_creation']) ?>
|
<?= dt('Created on %B %e, %Y at %k:%M %p', $task['date_creation']) ?>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user