看板初始化提交

This commit is contained in:
zephyr
2026-06-01 21:23:12 -07:00
commit 27411ebedc
1827 changed files with 192340 additions and 0 deletions
+15
View File
@@ -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>