summaryrefslogtreecommitdiff
path: root/app/Template/comment_list
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/comment_list')
-rw-r--r--app/Template/comment_list/show.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/comment_list/show.php b/app/Template/comment_list/show.php
index bac77b5b..b3a54589 100644
--- a/app/Template/comment_list/show.php
+++ b/app/Template/comment_list/show.php
@@ -1,6 +1,7 @@
+<?php if (!$compact): ?>
<div class="page-header">
<h2><?= $this->text->e($task['title']) ?></h2>
- <?php if ((!isset($is_public) || !$is_public) && !$compact): ?>
+ <?php if (!isset($is_public) || !$is_public): ?>
<ul>
<li>
<?= $this->url->icon('sort', t('Change sorting'), 'CommentListController', 'toggleSorting', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'js-modal-replace') ?>
@@ -13,6 +14,7 @@
</ul>
<?php endif ?>
</div>
+<?php endif ?>
<div class="comments">
<?php foreach ($comments as $comment): ?>
<?= $this->render('comment/show', array(