summaryrefslogtreecommitdiff
path: root/app/Template/comment/show.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-03 20:53:07 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-03 20:53:07 -0500
commit346151e103431e8de12520b26daae10676b8faf5 (patch)
treebc74ec361007a2567d68372b3a16d57ff5aa560c /app/Template/comment/show.php
parent6d388ec48d04481883aeb08b3aa4cbb9063ce3a4 (diff)
Add dropdown menu with inline popup for all task actions
Diffstat (limited to 'app/Template/comment/show.php')
-rw-r--r--app/Template/comment/show.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php
index 44457653..26b300e8 100644
--- a/app/Template/comment/show.php
+++ b/app/Template/comment/show.php
@@ -18,10 +18,10 @@
<li><a href="#comment-<?= $comment['id'] ?>"><?= t('link') ?></a></li>
<?php if ($editable && ($this->user->isAdmin() || $this->user->isCurrentUser($comment['user_id']))): ?>
<li>
- <?= $this->url->link(t('remove'), 'comment', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id'])) ?>
+ <?= $this->url->link(t('remove'), 'comment', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id']), false, 'popover') ?>
</li>
<li>
- <?= $this->url->link(t('edit'), 'comment', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id'])) ?>
+ <?= $this->url->link(t('edit'), 'comment', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id']), false, 'popover') ?>
</li>
<?php endif ?>
</ul>