summaryrefslogtreecommitdiff
path: root/app/Template/task/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/show.php')
-rw-r--r--app/Template/task/show.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Template/task/show.php b/app/Template/task/show.php
index 76c572a1..b18c2bca 100644
--- a/app/Template/task/show.php
+++ b/app/Template/task/show.php
@@ -7,7 +7,7 @@
'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->render('task/description', array('task' => $task)) ?>
<?php endif ?>
@@ -22,7 +22,7 @@
)) ?>
<?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->render('task_internal_link/show', array(
'task' => $task,
@@ -34,7 +34,7 @@
)) ?>
<?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->render('task_external_link/show', array(
'task' => $task,
@@ -43,7 +43,7 @@
)) ?>
<?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->render('task_file/show', array(
'task' => $task,
@@ -52,7 +52,7 @@
)) ?>
<?php endif ?>
-<?php if(!empty($comments)): ?>
+<?php if (!empty($comments)): ?>
<?= $this->hook->render('template:task:show:before-comments', array('task' => $task, 'project' => $project)) ?>
<?= $this->render('comments/show', array(
'task' => $task,