Template helpers refactoring
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s created a subtask for the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
<?= e('%s created a subtask for the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', $this->e($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<div class="activity-description">
|
||||
<p><em><?= Helper\escape($task['title']) ?></em></p>
|
||||
<p><em><?= $this->e($task['title']) ?></em></p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<?= Helper\escape($subtask['title']) ?> (<strong><?= Helper\escape($subtask['status_name']) ?></strong>)
|
||||
<?= $this->e($subtask['title']) ?> (<strong><?= $this->e($subtask['status_name']) ?></strong>)
|
||||
</li>
|
||||
<li>
|
||||
<?php if ($subtask['username']): ?>
|
||||
|
||||
Reference in New Issue
Block a user