summaryrefslogtreecommitdiff
path: root/app/Template/subtask
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-20 11:24:43 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-20 11:24:43 -0500
commitc8c1242c26a11dc2abc7126829d76430612e7107 (patch)
tree012c7cf8df996b3af570120cfbfc3dd75eb5a13d /app/Template/subtask
parent2d27c36a71f08bea60a992b051bfb8a2d8bd06b6 (diff)
Add drag and drop to change column positions
Diffstat (limited to 'app/Template/subtask')
-rw-r--r--app/Template/subtask/table.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/Template/subtask/table.php b/app/Template/subtask/table.php
index 53902057..5db23245 100644
--- a/app/Template/subtask/table.php
+++ b/app/Template/subtask/table.php
@@ -1,8 +1,4 @@
<?php if (! empty($subtasks)): ?>
-
- <?php $first_position = $subtasks[0]['position']; ?>
- <?php $last_position = $subtasks[count($subtasks) - 1]['position']; ?>
-
<table
class="subtasks-table table-stripped"
data-save-position-url="<?= $this->url->href('Subtask', 'movePosition', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>"
@@ -63,8 +59,6 @@
<?= $this->render('subtask/menu', array(
'task' => $task,
'subtask' => $subtask,
- 'first_position' => $first_position,
- 'last_position' => $last_position,
)) ?>
</td>
<?php endif ?>