Fix bug: overdue tasks email notification

This commit is contained in:
Frédéric Guillot
2014-09-18 15:56:43 +02:00
parent c343a74743
commit 7e6d35f829
4 changed files with 30 additions and 4 deletions

View File

@@ -2,7 +2,13 @@
<ul>
<?php foreach ($tasks as $task): ?>
<li>(<strong>#<?= $task['id'] ?></strong>) <?= Helper\escape($task['title']) ?> (<strong><?= t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) ?></strong>)</li>
<li>
(<strong>#<?= $task['id'] ?></strong>)
<?= Helper\escape($task['title']) ?>
<?php if ($task['assignee_username']): ?>
(<strong><?= t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) ?></strong>)
<?php endif ?>
</li>
<?php endforeach ?>
</ul>