subtask_create.php 669 B

123456789101112131415161718192021
  1. <html>
  2. <body>
  3. <h2><?= $this->text->e($task['title']) ?> (#<?= $task['id'] ?>)</h2>
  4. <h3><?= t('New sub-task') ?></h3>
  5. <ul>
  6. <li><?= t('Title:') ?> <?= $this->text->e($subtask['title']) ?></li>
  7. <li><?= t('Status:') ?> <?= t($subtask['status_name']) ?></li>
  8. <li><?= t('Assignee:') ?> <?= $this->text->e($subtask['name'] ?: $subtask['username'] ?: '?') ?></li>
  9. <?php if (! empty($subtask['time_estimated'])): ?>
  10. <li>
  11. <?= t('Time tracking:') ?>
  12. <?= t('%sh estimated', n($subtask['time_estimated'])) ?>
  13. </li>
  14. <?php endif ?>
  15. </ul>
  16. <?= $this->render('notification/footer', array('task' => $task)) ?>
  17. </body>
  18. </html>