Display subtask icon status and title everywhere

This commit is contained in:
Frederic Guillot
2015-02-09 21:49:53 -05:00
parent 755b38f09e
commit 1de845e6c3
5 changed files with 4 additions and 10 deletions

View File

@@ -6,7 +6,6 @@
<tr>
<th class="column-10"><?= $paginator->order('Id', 'tasks.id') ?></th>
<th class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
<th class="column-15"><?= $paginator->order(t('Status'), 'status') ?></th>
<th><?= $paginator->order(t('Subtask'), 'title') ?></th>
<th class="column-20"><?= t('Time tracking') ?></th>
</tr>
@@ -21,9 +20,6 @@
<td>
<?= $this->toggleSubtaskStatus($subtask, 'dashboard') ?>
</td>
<td>
<?= $this->a($this->e($subtask['title']), 'task', 'show', array('task_id' => $subtask['task_id'], 'project_id' => $subtask['project_id'])) ?>
</td>
<td>
<?php if (! empty($subtask['time_spent'])): ?>
<strong><?= $this->e($subtask['time_spent']).'h' ?></strong> <?= t('spent') ?>

View File

@@ -8,7 +8,6 @@
<table class="subtasks-table">
<tr>
<th class="column-40"><?= t('Title') ?></th>
<th class="column-15"><?= t('Status') ?></th>
<th><?= t('Assignee') ?></th>
<th><?= t('Time tracking') ?></th>
<?php if (! isset($not_editable)): ?>
@@ -17,7 +16,6 @@
</tr>
<?php foreach ($subtasks as $subtask): ?>
<tr>
<td><?= $this->e($subtask['title']) ?></td>
<td>
<?php if (! isset($not_editable)): ?>
<?= $this->toggleSubtaskStatus($subtask, 'task') ?>