Helpers refactoring
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
<h3><?= t('New comment posted by %s', $comment['name'] ?: $comment['username']) ?></h3>
|
||||
|
||||
<?= $this->markdown($comment['comment']) ?>
|
||||
<?= $this->text->markdown($comment['comment']) ?>
|
||||
|
||||
<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
<h3><?= t('Comment updated') ?></h3>
|
||||
|
||||
<?= $this->markdown($comment['comment']) ?>
|
||||
<?= $this->text->markdown($comment['comment']) ?>
|
||||
|
||||
<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
|
||||
@@ -2,5 +2,5 @@
|
||||
Kanboard
|
||||
|
||||
<?php if (isset($application_url) && ! empty($application_url)): ?>
|
||||
- <a href="<?= $application_url.$this->u('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= t('view the task on Kanboard') ?></a>.
|
||||
- <a href="<?= $application_url.$this->url->href('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= t('view the task on Kanboard') ?></a>.
|
||||
<?php endif ?>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
<?php if (! empty($task['description'])): ?>
|
||||
<h2><?= t('Description') ?></h2>
|
||||
<?= $this->markdown($task['description']) ?: t('There is no description.') ?>
|
||||
<?= $this->text->markdown($task['description']) ?: t('There is no description.') ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<?php if (! empty($task['description'])): ?>
|
||||
<h2><?= t('Description') ?></h2>
|
||||
<?= $this->markdown($task['description']) ?>
|
||||
<?= $this->text->markdown($task['description']) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
|
||||
@@ -5,7 +5,7 @@
|
||||
<li>
|
||||
(<strong>#<?= $task['id'] ?></strong>)
|
||||
<?php if ($application_url): ?>
|
||||
<a href="<?= $application_url.$this->u('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= $this->e($task['title']) ?></a>
|
||||
<a href="<?= $application_url.$this->url->href('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><?= $this->e($task['title']) ?></a>
|
||||
<?php else: ?>
|
||||
<?= $this->e($task['title']) ?>
|
||||
<?php endif ?>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<?php if (! empty($task['description'])): ?>
|
||||
<h2><?= t('Description') ?></h2>
|
||||
<?= $this->markdown($task['description']) ?: t('There is no description.') ?>
|
||||
<?= $this->text->markdown($task['description']) ?: t('There is no description.') ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?= $this->render('notification/footer', array('task' => $task, 'application_url' => $application_url)) ?>
|
||||
Reference in New Issue
Block a user