2014-10-22 19:59:09 +02:00
|
|
|
<h2><?= t('List of due tasks for the project "%s"', $project) ?></h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<?php foreach ($tasks as $task): ?>
|
|
|
|
<li>
|
|
|
|
(<strong>#<?= $task['id'] ?></strong>)
|
2014-11-23 20:13:38 +01:00
|
|
|
<?php if ($application_url): ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<a href="<?= $application_url.$this->u('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= $this->e($task['title']) ?></a>
|
2014-11-23 20:13:38 +01:00
|
|
|
<?php else: ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->e($task['title']) ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
<?php endif ?>
|
|
|
|
(<?= dt('%B %e, %Y', $task['date_due']) ?>)
|
2014-10-22 19:59:09 +02:00
|
|
|
<?php if ($task['assignee_username']): ?>
|
|
|
|
(<strong><?= t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) ?></strong>)
|
|
|
|
<?php endif ?>
|
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</ul>
|
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->render('notification/footer', array('task' => $task)) ?>
|