From ab40004558cbfcd3701d2a33788c6928bcd3144f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 16:25:59 -0500 Subject: Improve task view table --- app/Template/task_external_link/table.php | 35 ++++++++++------------ app/Template/task_internal_link/table.php | 49 ++++++++++++------------------- 2 files changed, 34 insertions(+), 50 deletions(-) (limited to 'app') diff --git a/app/Template/task_external_link/table.php b/app/Template/task_external_link/table.php index aaa234bb..e345037e 100644 --- a/app/Template/task_external_link/table.php +++ b/app/Template/task_external_link/table.php @@ -1,19 +1,29 @@ - + - user->hasProjectAccess('TaskExternalLinkController', 'edit', $task['project_id'])): ?> - - - user->hasProjectAccess('TaskExternalLinkController', 'edit', $task['project_id'])): ?> - -
- + user->hasProjectAccess('TaskExternalLinkController', 'edit', $task['project_id'])): ?> + + + text->e($link['type']) ?> text->e($link['title']) ?> @@ -27,21 +37,6 @@ dt->date($link['date_creation']) ?> - -
diff --git a/app/Template/task_internal_link/table.php b/app/Template/task_internal_link/table.php index 255ecc97..9ef20645 100644 --- a/app/Template/task_internal_link/table.php +++ b/app/Template/task_internal_link/table.php @@ -5,20 +5,16 @@ - + - + () - - + + - - - - @@ -31,6 +27,20 @@ $link['is_active'] ? '' : 'task-link-closed' ) ?> + user->hasProjectAccess('Tasklink', 'edit', $task['project_id'])): ?> + + + url->link( $this->text->e('#'.$link['task_id'].' '.$link['title']), 'TaskViewController', @@ -41,13 +51,7 @@ ) ?> - -
- text->e($link['project_name']) ?> - - - - text->e($link['column_title']) ?> + (text->e($link['project_name']) ?> - text->e($link['column_title']) ?>) @@ -67,21 +71,6 @@ text->e($link['task_time_estimated']).'h' ?> - user->hasProjectAccess('Tasklink', 'edit', $task['project_id'])): ?> - - - - -- cgit v1.2.3