summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-12 11:11:10 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-12 11:11:10 -0400
commitc104d866588cb6e515009fdac5f0f9f5fa1e0eb3 (patch)
tree2c4a2054e856a249ee1a32992cd2976ca8214162 /app/Template/task
parentbc98748c0d5b1e1c4d08f16b58db8aea9b5fb5ce (diff)
Remove edit recurrence from the task menu
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/edit_recurrence.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/Template/task/edit_recurrence.php b/app/Template/task/edit_recurrence.php
index c261e368..e7c4c8f8 100644
--- a/app/Template/task/edit_recurrence.php
+++ b/app/Template/task/edit_recurrence.php
@@ -15,7 +15,7 @@
<?php if ($task['recurrence_status'] != \Model\Task::RECURRING_STATUS_PROCESSED): ?>
- <form method="post" action="<?= $this->url->href('task', 'recurrence', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'ajax' => $ajax)) ?>" autocomplete="off">
+ <form method="post" action="<?= $this->url->href('task', 'recurrence', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
@@ -40,12 +40,7 @@
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
<?= t('or') ?>
-
- <?php if ($ajax): ?>
- <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $task['project_id'])) ?>
- <?php else: ?>
- <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
- <?php endif ?>
+ <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</div>
</form>