diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-18 18:25:46 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-18 18:25:46 -0500 |
commit | b4dc602381a367ce9ed1a1bbe28b7903976fdabe (patch) | |
tree | 7edc2532f56abd66ff7f20b8a75dd0268d69310c /app/Template/comment | |
parent | 5710bab97198234afced474250f20e24332fd6fc (diff) |
Send comments by email
Diffstat (limited to 'app/Template/comment')
-rw-r--r-- | app/Template/comment/show.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php index d8470c24..5f15ffd6 100644 --- a/app/Template/comment/show.php +++ b/app/Template/comment/show.php @@ -8,26 +8,28 @@ <?php endif ?> <small class="comment-date"><?= t('Created at:') ?> <?= $this->dt->datetime($comment['date_creation']) ?></small> - <small class="comment-date"><?= t('Updated at:')?> <?= $this->dt->datetime($comment['date_modification']) ?></small> + <small class="comment-date"><?= t('Updated at:') ?> <?= $this->dt->datetime($comment['date_modification']) ?></small> </div> <?php if (! isset($hide_actions)): ?> - <div class="comment-actions"> + <div class="comment-actions"> + <div class="dropdown"> + <a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog"></i><i class="fa fa-caret-down"></i></a> <ul> <li> - <i class="fa fa-link fa-fw"></i> - <a href="#comment-<?= $comment['id'] ?>"><?= t('link') ?></a> + <?= $this->url->icon('link', t('Link'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', '', $this->app->isAjax(), 'comment-'.$comment['id']) ?> </li> <?php if ($editable && ($this->user->isAdmin() || $this->user->isCurrentUser($comment['user_id']))): ?> <li> - <?= $this->modal->medium('edit', t('edit'), 'CommentController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id'])) ?> + <?= $this->modal->medium('edit', t('Edit'), 'CommentController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id'])) ?> </li> <li> - <?= $this->modal->confirm('trash-o', t('remove'), 'CommentController', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id'])) ?> + <?= $this->modal->confirm('trash-o', t('Remove'), 'CommentController', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'comment_id' => $comment['id'])) ?> </li> <?php endif ?> </ul> </div> + </div> <?php endif ?> <div class="comment-content"> |