diff --git a/app/Model/TaskFinder.php b/app/Model/TaskFinder.php
index 42f2f2734..4ed196ef2 100644
--- a/app/Model/TaskFinder.php
+++ b/app/Model/TaskFinder.php
@@ -59,6 +59,8 @@ class TaskFinder extends Base
'tasks.date_creation',
'tasks.project_id',
'tasks.color_id',
+ 'tasks.time_spent',
+ 'tasks.time_estimated',
'projects.name AS project_name'
)
->join(Project::TABLE, 'id', 'project_id')
diff --git a/app/Template/app/tasks.php b/app/Template/app/tasks.php
index 37843af5e..9987ff480 100644
--- a/app/Template/app/tasks.php
+++ b/app/Template/app/tasks.php
@@ -7,6 +7,7 @@
= $paginator->order('Id', 'tasks.id') ?> |
= $paginator->order(t('Project'), 'project_name') ?> |
= $paginator->order(t('Task'), 'title') ?> |
+ = t('Time tracking') ?> |
= $paginator->order(t('Due date'), 'date_due') ?> |
getCollection() as $task): ?>
@@ -20,6 +21,15 @@
= $this->a($this->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
|
+
+
+ = $this->e($task['time_spent']).'h' ?> = t('spent') ?>
+
+
+
+ = $this->e($task['time_estimated']).'h' ?> = t('estimated') ?>
+
+ |
= dt('%B %e, %Y', $task['date_due']) ?>
|
diff --git a/assets/css/app.css b/assets/css/app.css
index 6c675ccdc..b43531c44 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -1828,12 +1828,12 @@ a.task-board-nobody {
}
.dashboard-left-column {
- width: 55%;
+ width: 58%;
float: left;
}
.dashboard-right-column {
- margin-left: 5%;
+ margin-left: 2%;
width: 40%;
float: left;
}
diff --git a/assets/css/src/dashboard.css b/assets/css/src/dashboard.css
index 8d0897b4a..9044aa432 100644
--- a/assets/css/src/dashboard.css
+++ b/assets/css/src/dashboard.css
@@ -7,12 +7,12 @@
}
.dashboard-left-column {
- width: 55%;
+ width: 58%;
float: left;
}
.dashboard-right-column {
- margin-left: 5%;
+ margin-left: 2%;
width: 40%;
float: left;
}