diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-26 22:23:12 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-26 22:23:12 -0400 |
commit | 82b5b491bec94cb3d40a5820fbef9959435309be (patch) | |
tree | 9d53ecaec423630022b2bb1ce3f03867cff40f49 /app/Template/task_file | |
parent | 9ebbe3da56914c408327997cea4eb00db2f88e0c (diff) |
Rename task view controller
Diffstat (limited to 'app/Template/task_file')
-rw-r--r-- | app/Template/task_file/create.php | 4 | ||||
-rw-r--r-- | app/Template/task_file/remove.php | 4 | ||||
-rw-r--r-- | app/Template/task_file/screenshot.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/task_file/create.php b/app/Template/task_file/create.php index 4abe6634..e3bbfa2b 100644 --- a/app/Template/task_file/create.php +++ b/app/Template/task_file/create.php @@ -4,7 +4,7 @@ <div id="file-done" style="display:none"> <p class="alert alert-success"> <?= t('All files have been uploaded successfully.') ?> - <?= $this->url->link(t('View uploaded files'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + <?= $this->url->link(t('View uploaded files'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> </p> </div> @@ -29,5 +29,5 @@ <div class="form-actions"> <input type="submit" value="<?= t('Upload files') ?>" class="btn btn-blue" id="file-upload-button" disabled> <?= t('or') ?> - <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> + <?= $this->url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_file/remove.php b/app/Template/task_file/remove.php index fe601f6f..5097c66a 100644 --- a/app/Template/task_file/remove.php +++ b/app/Template/task_file/remove.php @@ -10,6 +10,6 @@ <div class="form-actions"> <?= $this->url->link(t('Yes'), 'TaskFile', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), true, 'btn btn-red') ?> <?= t('or') ?> - <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> + <?= $this->url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> -</div>
\ No newline at end of file +</div> diff --git a/app/Template/task_file/screenshot.php b/app/Template/task_file/screenshot.php index 2880478d..75958db1 100644 --- a/app/Template/task_file/screenshot.php +++ b/app/Template/task_file/screenshot.php @@ -12,8 +12,8 @@ <div class="form-actions"> <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> - <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> + <?= $this->url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> </form> -<p class="alert alert-info"><?= t('This feature does not work with all browsers.') ?></p>
\ No newline at end of file +<p class="alert alert-info"><?= t('This feature does not work with all browsers.') ?></p> |