Template helpers refactoring
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
<li>
|
||||
(<strong>#<?= $task['id'] ?></strong>)
|
||||
<?php if ($application_url): ?>
|
||||
<a href="<?= $application_url.'?controller=task&action=show&task_id='.$task['id'] ?>"><?= Helper\escape($task['title']) ?></a>
|
||||
<a href="<?= $application_url.'?controller=task&action=show&task_id='.$task['id'] ?>"><?= $this->e($task['title']) ?></a>
|
||||
<?php else: ?>
|
||||
<?= Helper\escape($task['title']) ?>
|
||||
<?= $this->e($task['title']) ?>
|
||||
<?php endif ?>
|
||||
(<?= dt('%B %e, %Y', $task['date_due']) ?>)
|
||||
<?php if ($task['assignee_username']): ?>
|
||||
@@ -17,4 +17,4 @@
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
|
||||
<?= Helper\template('notification/footer', array('task' => $task)) ?>
|
||||
<?= $this->render('notification/footer', array('task' => $task)) ?>
|
||||
|
||||
Reference in New Issue
Block a user