summaryrefslogtreecommitdiff
path: root/app/Template/task_duplication/copy.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/task_duplication/copy.php
parent6d388ec48d04481883aeb08b3aa4cbb9063ce3a4 (diff)
Add dropdown menu with inline popup for all task actions
Diffstat (limited to 'app/Template/task_duplication/copy.php')
-rw-r--r--app/Template/task_duplication/copy.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/task_duplication/copy.php b/app/Template/task_duplication/copy.php
index 415b8610..fe2c599a 100644
--- a/app/Template/task_duplication/copy.php
+++ b/app/Template/task_duplication/copy.php
@@ -6,7 +6,7 @@
<p class="alert"><?= t('There is no destination project available.') ?></p>
<?php else: ?>
- <form method="post" action="<?= $this->url->href('taskduplication', 'copy', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
+ <form class="popover-form" method="post" action="<?= $this->url->href('taskduplication', 'copy', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->form->hidden('id', $values) ?>
@@ -39,9 +39,9 @@
<p class="form-help"><?= t('Current assignee: %s', ($task['assignee_name'] ?: $task['assignee_username']) ?: e('not assigned')) ?></p>
<div class="form-actions">
- <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
<?= t('or') ?>
- <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
</div>
</form>