From 9a98013736f1acebbb62c5fce6a10c02e32b516f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 31 Jan 2015 11:21:43 -0500 Subject: Add table/pagination to the project list --- app/Template/project/index.php | 59 ++++++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 25 deletions(-) (limited to 'app/Template') diff --git a/app/Template/project/index.php b/app/Template/project/index.php index 58c520d1..a36a9ce1 100644 --- a/app/Template/project/index.php +++ b/app/Template/project/index.php @@ -8,15 +8,31 @@
- -

- + isEmpty()): ?> +

+ + + + + + + + + getCollection() as $project): ?> + + + + + + - - +
order(t('Id'), 'id') ?>order(t('Status'), 'is_active') ?>order(t('Project'), 'name') ?>
+ a('#'.$project['id'], 'board', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link') ?> + + + + + + + + a('', 'board', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Board')) ?>  - -

-
    - -
  • @@ -24,25 +40,18 @@ a($this->e($project['name']), 'project', 'show', array('project_id' => $project['id'])) ?> -
  • +
+ + + e($column['title']) ?> + +
- -

- + - -
\ No newline at end of file -- cgit v1.2.3