@@ -116,7 +116,7 @@ class ActionCreationController extends BaseController
|
||||
|
||||
if ($valid) {
|
||||
if ($this->actionModel->create($values) !== false) {
|
||||
$this->flash->success(t('Your automatic action have been created successfully.'));
|
||||
$this->flash->success(t('Your automatic action has been created successfully.'));
|
||||
} else {
|
||||
$this->flash->failure(t('Unable to create your automatic action.'));
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ class CategoryController extends BaseController
|
||||
|
||||
if ($valid) {
|
||||
if ($this->categoryModel->create($values) !== false) {
|
||||
$this->flash->success(t('Your category have been created successfully.'));
|
||||
$this->flash->success(t('Your category has been created successfully.'));
|
||||
$this->response->redirect($this->helper->url->to('CategoryController', 'index', array('project_id' => $project['id'])), true);
|
||||
return;
|
||||
} else {
|
||||
|
||||
@@ -53,7 +53,7 @@ class CurrencyController extends BaseController
|
||||
|
||||
if ($valid) {
|
||||
if ($this->currencyModel->create($values['currency'], $values['rate'])) {
|
||||
$this->flash->success(t('The currency rate have been added successfully.'));
|
||||
$this->flash->success(t('The currency rate has been added successfully.'));
|
||||
$this->response->redirect($this->helper->url->to('CurrencyController', 'show'), true);
|
||||
return;
|
||||
} else {
|
||||
|
||||
@@ -66,7 +66,7 @@ class CustomFilterController extends BaseController
|
||||
|
||||
if ($valid) {
|
||||
if ($this->customFilterModel->create($values) !== false) {
|
||||
$this->flash->success(t('Your custom filter have been created successfully.'));
|
||||
$this->flash->success(t('Your custom filter has been created successfully.'));
|
||||
$this->response->redirect($this->helper->url->to('CustomFilterController', 'index', array('project_id' => $project['id'])), true);
|
||||
return;
|
||||
} else {
|
||||
@@ -169,7 +169,7 @@ class CustomFilterController extends BaseController
|
||||
|
||||
if ($valid) {
|
||||
if ($this->customFilterModel->update($values)) {
|
||||
$this->flash->success(t('Your custom filter have been updated successfully.'));
|
||||
$this->flash->success(t('Your custom filter has been updated successfully.'));
|
||||
$this->response->redirect($this->helper->url->to('CustomFilterController', 'index', array('project_id' => $project['id'])), true);
|
||||
return;
|
||||
} else {
|
||||
|
||||
@@ -58,7 +58,7 @@ class ProjectCreationController extends BaseController
|
||||
$project_id = $this->createOrDuplicate($values);
|
||||
|
||||
if ($project_id > 0) {
|
||||
$this->flash->success(t('Your project have been created successfully.'));
|
||||
$this->flash->success(t('Your project has been created successfully.'));
|
||||
return $this->response->redirect($this->helper->url->to('ProjectViewController', 'show', array('project_id' => $project_id)));
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ class SwimlaneController extends BaseController
|
||||
|
||||
if ($valid) {
|
||||
if ($this->swimlaneModel->create($project['id'], $values['name'], $values['description'], $values['task_limit']) !== false) {
|
||||
$this->flash->success(t('Your swimlane have been created successfully.'));
|
||||
$this->flash->success(t('Your swimlane has been created successfully.'));
|
||||
$this->response->redirect($this->helper->url->to('SwimlaneController', 'index', array('project_id' => $project['id'])), true);
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user