From ff892c5d25e0bab560f005c788189d38c2bcab7b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 25 May 2016 22:28:09 -0400 Subject: Split project controller into multiple classes --- app/Template/project_list/show.php | 85 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 app/Template/project_list/show.php (limited to 'app/Template/project_list') diff --git a/app/Template/project_list/show.php b/app/Template/project_list/show.php new file mode 100644 index 00000000..06e4a626 --- /dev/null +++ b/app/Template/project_list/show.php @@ -0,0 +1,85 @@ +
+ + isEmpty()): ?> +

+ + + + + + + + + + user->hasAccess('projectuser', 'managers')): ?> + + + + + getCollection() as $project): ?> + + + + + + + + user->hasAccess('projectuser', 'managers')): ?> + + + + + +
order(t('Id'), 'id') ?>order(t('Status'), 'is_active') ?>order(t('Project'), 'name') ?>order(t('Start date'), 'start_date') ?>order(t('End date'), 'end_date') ?>order(t('Owner'), 'owner_id') ?>
+ render('project/dropdown', array('project' => $project)) ?> + + + + + + + + url->link($this->text->e($project['name']), 'board', 'show', array('project_id' => $project['id'])) ?> + + + + + + + + + + + + + + + dt->date($project['start_date']) ?> + + dt->date($project['end_date']) ?> + + 0): ?> + text->e($project['owner_name'] ?: $project['owner_username']) ?> + + + + + + + + text->e($column['title']) ?> + +
+ + + +
-- cgit v1.2.3