From c2e3f1eba95c86efdc429c16b94e87b0687241dd Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 21 Oct 2016 07:41:52 -0400 Subject: Show error messages in dialog box to move tasks --- app/Controller/TaskMovePositionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/TaskMovePositionController.php b/app/Controller/TaskMovePositionController.php index a655ca0a..cb4afd04 100644 --- a/app/Controller/TaskMovePositionController.php +++ b/app/Controller/TaskMovePositionController.php @@ -36,7 +36,7 @@ class TaskMovePositionController extends BaseController $values = $this->request->getJson(); if (! $this->helper->projectRole->canMoveTask($task['project_id'], $task['column_id'], $values['column_id'])) { - throw new AccessForbiddenException(e("You don't have the permission to move this task")); + throw new AccessForbiddenException(e('You are not allowed to move this task.')); } $result = $this->taskPositionModel->movePosition( -- cgit v1.2.3