Do not show comment sorting link on public board
This commit is contained in:
parent
b9bb088842
commit
fe85d83621
|
|
@ -3,10 +3,12 @@
|
|||
<h3><a href="#" class="fa accordion-toggle"></a> <?= t('Comments') ?></h3>
|
||||
</div>
|
||||
<div class="accordion-content" id="comments">
|
||||
<div class="comment-sorting">
|
||||
<i class="fa fa-sort"></i>
|
||||
<?= $this->url->link(t('change sorting'), 'comment', 'toggleSorting', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
|
||||
</div>
|
||||
<?php if (!isset($is_public) || !$is_public): ?>
|
||||
<div class="comment-sorting">
|
||||
<i class="fa fa-sort"></i>
|
||||
<?= $this->url->link(t('change sorting'), 'comment', 'toggleSorting', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php foreach ($comments as $comment): ?>
|
||||
<?= $this->render('comment/show', array(
|
||||
'comment' => $comment,
|
||||
|
|
|
|||
Loading…
Reference in New Issue