Show error messages in dialog box to move tasks

This commit is contained in:
Frédéric Guillot
2016-10-21 07:41:52 -04:00
parent 6a3e435e89
commit c2e3f1eba9
30 changed files with 52 additions and 6 deletions

View File

@@ -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(