From 1353929a7dbd3f2e897fa7d3ab88e959ca573f9f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 13:41:54 -0400 Subject: Rename controllers --- app/Template/project_user_overview/tasks.php | 46 ++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app/Template/project_user_overview/tasks.php (limited to 'app/Template/project_user_overview/tasks.php') diff --git a/app/Template/project_user_overview/tasks.php b/app/Template/project_user_overview/tasks.php new file mode 100644 index 00000000..d459c133 --- /dev/null +++ b/app/Template/project_user_overview/tasks.php @@ -0,0 +1,46 @@ +isEmpty()): ?> +

+isEmpty()): ?> + + + + + + + + + + + getCollection() as $task): ?> + + + + + + + + + + +
order(t('Id'), 'tasks.id') ?>order(t('Project'), 'projects.name') ?>order(t('Column'), 'tasks.column_id') ?>order(t('Title'), 'tasks.title') ?>order(t('Assignee'), 'users.username') ?>order(t('Start date'), 'tasks.date_started') ?>order(t('Due date'), 'tasks.date_due') ?>
+ url->link('#'.$this->text->e($task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> + + url->link($this->text->e($task['project_name']), 'board', 'show', array('project_id' => $task['project_id'])) ?> + + text->e($task['column_name']) ?> + + url->link($this->text->e($task['title']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> + + + text->e($task['assignee_name'] ?: $task['assignee_username']) ?> + + + + + dt->date($task['date_started']) ?> + + dt->date($task['date_due']) ?> +
+ + + -- cgit v1.2.3