summaryrefslogtreecommitdiff
path: root/app/Template/file
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-15 19:35:28 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-15 19:35:28 -0500
commit321b1914ef1ee4d7e1a39d60fddd1151cb195f9c (patch)
treefede454cbf957df30cb0639c460a301e49bdfd34 /app/Template/file
parent186f8ba840e5e6e00a96881a04bb7efdf3d8c7d4 (diff)
Display confirmation box to close task from the board and improve popover listeners
Diffstat (limited to 'app/Template/file')
-rw-r--r--app/Template/file/show.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/file/show.php b/app/Template/file/show.php
index 179f5744..298976f6 100644
--- a/app/Template/file/show.php
+++ b/app/Template/file/show.php
@@ -11,7 +11,7 @@
<?= $this->a($this->e($file['name']), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
<span class="task-show-file-actions">
<?php if ($file['is_image']): ?>
- <?= $this->a(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'file-popover') ?>,
+ <?= $this->a(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>,
<?php endif ?>
<?= $this->a(t('remove'), 'file', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
</span>