Do not display comment icon link in public view
This commit is contained in:
@@ -96,6 +96,9 @@
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($task['nb_comments'] > 0): ?>
|
<?php if ($task['nb_comments'] > 0): ?>
|
||||||
|
<?php if ($not_editable): ?>
|
||||||
|
<span title="<?= $task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments']) ?>"><i class="fa fa-comments-o"></i> <?= $task['nb_comments'] ?></span>
|
||||||
|
<?php else: ?>
|
||||||
<?= $this->modal->medium(
|
<?= $this->modal->medium(
|
||||||
'comments-o',
|
'comments-o',
|
||||||
$task['nb_comments'],
|
$task['nb_comments'],
|
||||||
@@ -105,6 +108,7 @@
|
|||||||
$task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments'])
|
$task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments'])
|
||||||
) ?>
|
) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if (! empty($task['description'])): ?>
|
<?php if (! empty($task['description'])): ?>
|
||||||
<span title="<?= t('Description') ?>" class="tooltip" data-href="<?= $this->url->href('BoardTooltipController', 'description', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>">
|
<span title="<?= t('Description') ?>" class="tooltip" data-href="<?= $this->url->href('BoardTooltipController', 'description', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user