From 67b836164997527b91452b19adbcb8aa3c5decf1 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 15 May 2016 18:31:47 -0400 Subject: Refactoring: added controlled middleware and changed response class --- app/Template/dashboard/projects.php | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 app/Template/dashboard/projects.php (limited to 'app/Template/dashboard/projects.php') diff --git a/app/Template/dashboard/projects.php b/app/Template/dashboard/projects.php new file mode 100644 index 00000000..cdf19bdf --- /dev/null +++ b/app/Template/dashboard/projects.php @@ -0,0 +1,50 @@ + +isEmpty()): ?> +

+ + + + + + + + + getCollection() as $project): ?> + + + + + + + +
order('Id', 'id') ?>order('', 'is_private') ?>order(t('Project'), \Kanboard\Model\Project::TABLE.'.name') ?>
+ render('project/dropdown', array('project' => $project)) ?> + + + + + + user->hasProjectAccess('gantt', 'project', $project['id'])): ?> + url->link('', 'gantt', 'project', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Gantt chart')) ?> + + + url->link('', 'listing', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('List')) ?>  + url->link('', 'calendar', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Calendar')) ?>  + + url->link($this->text->e($project['name']), 'board', 'show', array('project_id' => $project['id'])) ?> + + + + + + + + + text->e($column['title']) ?> + +
+ + + -- cgit v1.2.3