From 45771b685df963b77c15130e49bac0df92034aaf Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 14:08:38 -0500 Subject: Improve tags management in project settings --- app/Controller/ProjectTagController.php | 16 ++++++++-------- app/Template/column/index.php | 2 +- app/Template/project_tag/index.php | 18 +++++++++++++----- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/app/Controller/ProjectTagController.php b/app/Controller/ProjectTagController.php index acf514d3..d225f0ca 100644 --- a/app/Controller/ProjectTagController.php +++ b/app/Controller/ProjectTagController.php @@ -18,8 +18,8 @@ class ProjectTagController extends BaseController $this->response->html($this->helper->layout->project('project_tag/index', array( 'project' => $project, - 'tags' => $this->tagModel->getAllByProject($project['id']), - 'title' => t('Project tags management'), + 'tags' => $this->tagModel->getAllByProject($project['id']), + 'title' => t('Project tags management'), ))); } @@ -33,8 +33,8 @@ class ProjectTagController extends BaseController $this->response->html($this->template->render('project_tag/create', array( 'project' => $project, - 'values' => $values, - 'errors' => $errors, + 'values' => $values, + 'errors' => $errors, ))); } @@ -69,9 +69,9 @@ class ProjectTagController extends BaseController $this->response->html($this->template->render('project_tag/edit', array( 'project' => $project, - 'tag' => $tag, - 'values' => $values, - 'errors' => $errors, + 'tag' => $tag, + 'values' => $values, + 'errors' => $errors, ))); } @@ -107,7 +107,7 @@ class ProjectTagController extends BaseController $tag = $this->tagModel->getById($tag_id); $this->response->html($this->template->render('project_tag/remove', array( - 'tag' => $tag, + 'tag' => $tag, 'project' => $project, ))); } diff --git a/app/Template/column/index.php b/app/Template/column/index.php index 3c60d021..7c29d4bf 100644 --- a/app/Template/column/index.php +++ b/app/Template/column/index.php @@ -28,7 +28,7 @@