From 23346d5e76a171efb407612dc54a92740863dfbc Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 14 Feb 2015 18:55:55 -0500 Subject: Move function to the right place (pull-request) and improve board task icons --- app/Template/board/task.php | 70 ++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 42 deletions(-) (limited to 'app/Template/board/task.php') diff --git a/app/Template/board/task.php b/app/Template/board/task.php index 075eab92..638078c3 100644 --- a/app/Template/board/task.php +++ b/app/Template/board/task.php @@ -20,10 +20,6 @@ - - e($task['score']) ?> - -
a($this->e($task['title']), 'task', 'readonly', array('task_id' => $task['id'], 'token' => $project['token'])) ?>
@@ -59,7 +55,7 @@ a( - (! empty($task['owner_id']) ? t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) : t('Nobody assigned')), + (! empty($task['owner_id']) ? ($task['assignee_name'] ?: $task['assignee_username']) : t('Nobody assigned')), 'board', 'changeAssignee', array('task_id' => $task['id'], 'project_id' => $task['project_id']), @@ -68,13 +64,9 @@ t('Change assignee') ) ?> - - - - - - e($task['score']) ?> - + + getTaskAge($task['date_creation']) ?> + getTaskAge($task['date_moved']) ?>
a($this->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> @@ -99,40 +91,34 @@
+
+ + +   + + - - -
-- cgit v1.2.3