summaryrefslogtreecommitdiff
path: root/app/Template/notification/subtask_create.php
blob: e1c62b730a6f36e172f4a0d11eb434442db11e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<h2><?= $this->e($task['title']) ?> (#<?= $task['id'] ?>)</h2>

<h3><?= t('New sub-task') ?></h3>

<ul>
    <li><?= t('Title:') ?> <?= $this->e($subtask['title']) ?></li>
    <li><?= t('Status:') ?> <?= $this->e($subtask['status_name']) ?></li>
    <li><?= t('Assignee:') ?> <?= $this->e($subtask['name'] ?: $subtask['username'] ?: '?') ?></li>
    <li>
        <?= t('Time tracking:') ?>
        <?php if (! empty($subtask['time_estimated'])): ?>
            <strong><?= $this->e($subtask['time_estimated']).'h' ?></strong> <?= t('estimated') ?>
        <?php endif ?>
    </li>
</ul>

<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>