diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-08-30 22:35:50 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-08-30 22:35:50 -0800 |
commit | 7e44dee903015399e221cdda52e540e75c2484f5 (patch) | |
tree | 48ddc68daa00b857bde78be9b6bd5ef5dbf36e5d /app/Templates/task_edit_description.php | |
parent | 9e36f84fbc672e8d63a189c6c6365a6eca97f718 (diff) |
Move a task to another project
Diffstat (limited to 'app/Templates/task_edit_description.php')
-rw-r--r-- | app/Templates/task_edit_description.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app/Templates/task_edit_description.php b/app/Templates/task_edit_description.php index e3a3e8b9..d403190f 100644 --- a/app/Templates/task_edit_description.php +++ b/app/Templates/task_edit_description.php @@ -13,11 +13,10 @@ <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> <?= t('or') ?> -<?php if ($ajax): ?> - <a href="?controller=board&action=show&project_id=<?= $task['project_id'] ?>"><?= t('cancel') ?></a> -<?php else: ?> - <a href="?controller=task&action=show&task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a> -<?php endif ?> + <?php if ($ajax): ?> + <a href="?controller=board&action=show&project_id=<?= $task['project_id'] ?>"><?= t('cancel') ?></a> + <?php else: ?> + <a href="?controller=task&action=show&task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a> + <?php endif ?> </div> </form> - |