Fix regression in PR #2439
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
'editable' => $this->user->hasProjectAccess('TaskModificationController', 'edit', $project['id']),
|
'editable' => $this->user->hasProjectAccess('TaskModificationController', 'edit', $project['id']),
|
||||||
)) ?>
|
)) ?>
|
||||||
|
|
||||||
<?php if(!empty($task['description'])): ?>
|
<?php if (!empty($task['description'])): ?>
|
||||||
<?= $this->hook->render('template:task:show:before-description', array('task' => $task, 'project' => $project)) ?>
|
<?= $this->hook->render('template:task:show:before-description', array('task' => $task, 'project' => $project)) ?>
|
||||||
<?= $this->render('task/description', array('task' => $task)) ?>
|
<?= $this->render('task/description', array('task' => $task)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
)) ?>
|
)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if(!empty($internal_links)): ?>
|
<?php if (!empty($internal_links)): ?>
|
||||||
<?= $this->hook->render('template:task:show:before-internal-links', array('task' => $task, 'project' => $project)) ?>
|
<?= $this->hook->render('template:task:show:before-internal-links', array('task' => $task, 'project' => $project)) ?>
|
||||||
<?= $this->render('task_internal_link/show', array(
|
<?= $this->render('task_internal_link/show', array(
|
||||||
'task' => $task,
|
'task' => $task,
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
)) ?>
|
)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if(!empty($external_links)): ?>
|
<?php if (!empty($external_links)): ?>
|
||||||
<?= $this->hook->render('template:task:show:before-external-links', array('task' => $task, 'project' => $project)) ?>
|
<?= $this->hook->render('template:task:show:before-external-links', array('task' => $task, 'project' => $project)) ?>
|
||||||
<?= $this->render('task_external_link/show', array(
|
<?= $this->render('task_external_link/show', array(
|
||||||
'task' => $task,
|
'task' => $task,
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
)) ?>
|
)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if(!empty($files)): ?>
|
<?php if (!empty($files) || !empty($images)): ?>
|
||||||
<?= $this->hook->render('template:task:show:before-attachments', array('task' => $task, 'project' => $project)) ?>
|
<?= $this->hook->render('template:task:show:before-attachments', array('task' => $task, 'project' => $project)) ?>
|
||||||
<?= $this->render('task_file/show', array(
|
<?= $this->render('task_file/show', array(
|
||||||
'task' => $task,
|
'task' => $task,
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
)) ?>
|
)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if(!empty($comments)): ?>
|
<?php if (!empty($comments)): ?>
|
||||||
<?= $this->hook->render('template:task:show:before-comments', array('task' => $task, 'project' => $project)) ?>
|
<?= $this->hook->render('template:task:show:before-comments', array('task' => $task, 'project' => $project)) ?>
|
||||||
<?= $this->render('comments/show', array(
|
<?= $this->render('comments/show', array(
|
||||||
'task' => $task,
|
'task' => $task,
|
||||||
|
|||||||
Reference in New Issue
Block a user