看板初始化提交
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<span class="subtask-time-tracking">
|
||||
<?php if (! empty($subtask['time_spent'])): ?>
|
||||
<?= t('%sh spent', n($subtask['time_spent'])) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if (! empty($subtask['time_spent']) && ! empty($subtask['time_estimated'])): ?>/<?php endif ?>
|
||||
|
||||
<?php if (! empty($subtask['time_estimated'])): ?>
|
||||
<?= t('%sh estimated', n($subtask['time_estimated'])) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($this->user->hasProjectAccess('SubtaskController', 'edit', $task['project_id']) && $subtask['user_id'] == $this->user->getId()): ?>
|
||||
<?= $this->subtask->renderTimer($task, $subtask) ?>
|
||||
<?php endif ?>
|
||||
</span>
|
||||
Reference in New Issue
Block a user