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

@@ -22,7 +22,7 @@
</li>
<?php if (! empty($task['reference'])): ?>
<li>
<strong><?= t('Reference:') ?></strong> <span><?= $this->text->e($task['reference']) ?></span>
<strong><?= t('Reference:') ?></strong> <span><?= $this->task->renderReference($task) ?></span>
</li>
<?php endif ?>
<?php if (! empty($task['score'])): ?>