From fde0c0bad5058e65ec1a676da6b0d0f2511e6a85 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 12 Jan 2016 22:19:43 -0500 Subject: Add dropdown menu for column 'Actions' in tables --- app/Template/category/index.php | 5 ++++- app/Template/column/index.php | 15 +++++++++------ app/Template/custom_filter/index.php | 15 +++++++++------ app/Template/group/index.php | 7 +++++-- app/Template/swimlane/table.php | 9 ++++++--- 5 files changed, 33 insertions(+), 18 deletions(-) (limited to 'app/Template') diff --git a/app/Template/category/index.php b/app/Template/category/index.php index dba537d0..4602f3b9 100644 --- a/app/Template/category/index.php +++ b/app/Template/category/index.php @@ -5,12 +5,14 @@ - + $category_name): ?> diff --git a/app/Template/column/index.php b/app/Template/column/index.php index 689cbbf5..17651d46 100644 --- a/app/Template/column/index.php +++ b/app/Template/column/index.php @@ -10,21 +10,23 @@

e($category_name) ?> +
- - - + + + - - - + diff --git a/app/Template/custom_filter/index.php b/app/Template/custom_filter/index.php index 507e091b..7868384f 100644 --- a/app/Template/custom_filter/index.php +++ b/app/Template/custom_filter/index.php @@ -5,12 +5,12 @@
e($column['title']) ?> + e($column['title']) ?> '> e($column['task_limit']) ?> + e($column['task_limit']) ?> +
- - - - - - + + + + + + @@ -33,10 +33,13 @@ diff --git a/app/Template/group/index.php b/app/Template/group/index.php index 4aea0873..d111b5d9 100644 --- a/app/Template/group/index.php +++ b/app/Template/group/index.php @@ -8,12 +8,12 @@ isEmpty()): ?>

-
e($filter['owner_name'] ?: $filter['owner_username']) ?> user->getId() || $this->user->hasProjectAccess('customfilter', 'edit', $project['id'])): ?> +
+
- + getCollection() as $group): ?> @@ -27,12 +27,15 @@ e($group['name']) ?> diff --git a/app/Template/swimlane/table.php b/app/Template/swimlane/table.php index b708e633..89915d56 100644 --- a/app/Template/swimlane/table.php +++ b/app/Template/swimlane/table.php @@ -1,10 +1,10 @@
order(t('Id'), 'id') ?> order(t('External Id'), 'external_id') ?> order(t('Name'), 'name') ?>
+
- + - - + + @@ -13,6 +13,8 @@ -- cgit v1.2.3
e($swimlane['name']) ?> +