Generate a link if the reference is a URL

This commit is contained in:
Frederic Guillot
2017-10-12 15:25:13 -07:00
parent 4bb422b41f
commit 7c52546ed2
4 changed files with 18 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<div class="task-list-icons">
<?php if ($task['reference']): ?>
<span class="task-board-reference" title="<?= t('Reference') ?>">
<?= $this->text->e($task['reference']) ?>
<?= $this->task->renderReference($task) ?>
</span>
<?php endif ?>
<?php if ($task['is_milestone'] == 1): ?>