From 3b3e8033696e408e699b911c042361d62ce7b7ac Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Feb 2017 17:08:00 -0500 Subject: Redesign task list view --- app/Template/task_list/task_icons.php | 94 +++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 app/Template/task_list/task_icons.php (limited to 'app/Template/task_list/task_icons.php') diff --git a/app/Template/task_list/task_icons.php b/app/Template/task_list/task_icons.php new file mode 100644 index 00000000..da08a43f --- /dev/null +++ b/app/Template/task_list/task_icons.php @@ -0,0 +1,94 @@ +
+ + + text->e($task['reference']) ?> + + + + + + + + + + + + text->e($task['score']) ?> + + + + + + text->e($task['time_spent']) ?>/text->e($task['time_estimated']) ?>h + + + + + + + dt->date($task['date_due']) ?> + + + + + + + + + + + + + + + + + + + + +   + + + +   + + + 0): ?> + user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> + modal->medium( + 'comments-o', + $task['nb_comments'], + 'CommentListController', + 'show', + array('task_id' => $task['id'], 'project_id' => $task['project_id']), + $task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments']) + ) ?> + +   + + + + + + + + + + +
+ dt->age($task['date_creation']) ?> + dt->age($task['date_moved']) ?> +
+ + + + + task->formatPriority($project, $task) ?> +
-- cgit v1.2.3