diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-19 22:59:47 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-19 22:59:47 -0500 |
commit | de4519fa2c45ca96d4bf0b9ce288cad600d09854 (patch) | |
tree | 9e66f936c8c82f32332cf74c24ca235dda5cd47b /app/Template/subtask/menu.php | |
parent | 270e0835b2f1b6de2c84d2cb1b7596d5babb6c2f (diff) |
Add subtasks drag and drop
Diffstat (limited to 'app/Template/subtask/menu.php')
-rw-r--r-- | app/Template/subtask/menu.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/Template/subtask/menu.php b/app/Template/subtask/menu.php index 16174bcf..6c98b951 100644 --- a/app/Template/subtask/menu.php +++ b/app/Template/subtask/menu.php @@ -1,16 +1,6 @@ <div class="dropdown"> <a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog fa-fw"></i><i class="fa fa-caret-down"></i></a> <ul> - <?php if ($subtask['position'] != $first_position): ?> - <li> - <?= $this->url->link(t('Move Up'), 'subtask', 'movePosition', array('project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'], 'direction' => 'up', 'redirect' => $redirect), true) ?> - </li> - <?php endif ?> - <?php if ($subtask['position'] != $last_position): ?> - <li> - <?= $this->url->link(t('Move Down'), 'subtask', 'movePosition', array('project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'], 'direction' => 'down', 'redirect' => $redirect), true) ?> - </li> - <?php endif ?> <li> <?= $this->url->link(t('Edit'), 'subtask', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id']), false, 'popover') ?> </li> |