Merge pull-request #745
This commit is contained in:
@@ -98,6 +98,7 @@ class Subtask extends Base
|
|||||||
Subtask::TABLE.'.*',
|
Subtask::TABLE.'.*',
|
||||||
Task::TABLE.'.project_id',
|
Task::TABLE.'.project_id',
|
||||||
Task::TABLE.'.color_id',
|
Task::TABLE.'.color_id',
|
||||||
|
Task::TABLE.'.title AS task_name',
|
||||||
Project::TABLE.'.name AS project_name'
|
Project::TABLE.'.name AS project_name'
|
||||||
)
|
)
|
||||||
->eq('user_id', $user_id)
|
->eq('user_id', $user_id)
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th class="column-10"><?= $paginator->order('Id', 'tasks.id') ?></th>
|
<th class="column-10"><?= $paginator->order('Id', 'tasks.id') ?></th>
|
||||||
<th class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
|
<th class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
|
||||||
|
<th><?= $paginator->order(t('Task'), 'task_name') ?></th>
|
||||||
<th><?= $paginator->order(t('Subtask'), 'title') ?></th>
|
<th><?= $paginator->order(t('Subtask'), 'title') ?></th>
|
||||||
<th class="column-20"><?= t('Time tracking') ?></th>
|
<th class="column-20"><?= t('Time tracking') ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -17,6 +18,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<?= $this->a($this->e($subtask['project_name']), 'board', 'show', array('project_id' => $subtask['project_id'])) ?>
|
<?= $this->a($this->e($subtask['project_name']), 'board', 'show', array('project_id' => $subtask['project_id'])) ?>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<?= $this->a($this->e($subtask['task_name']), 'task', 'show', array('task_id' => $subtask['task_id'], 'project_id' => $subtask['project_id'])) ?>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?= $this->toggleSubtaskStatus($subtask, 'dashboard') ?>
|
<?= $this->toggleSubtaskStatus($subtask, 'dashboard') ?>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user