diff options
author | Dzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl> | 2019-12-10 17:00:22 +0100 |
---|---|---|
committer | Dzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl> | 2019-12-10 17:00:22 +0100 |
commit | a03028963c58e9ececdb6ffebb835f6dc169d5ba (patch) | |
tree | 3d5ea7dcce69aa869627195cdc53c6b4afe0cd08 /app/Template/comment_list/show.php | |
parent | 3bfd7f2ef080235915ce27a494cef1b8f772bc05 (diff) |
Style adjustements for compact comment list view
Diffstat (limited to 'app/Template/comment_list/show.php')
-rw-r--r-- | app/Template/comment_list/show.php | 4 |
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( |