Adjust width of timetracking column. Make subtasks wrap not under icons
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="dropdown">
|
||||
<a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog"></i><i class="fa fa-caret-down"></i></a>
|
||||
<a href="#" class="dropdown-menu dropdown-menu-link-icon"><div class="subtask-submenu"><i class="fa fa-cog"></i><i class="fa fa-caret-down"></i></div></a>
|
||||
<ul>
|
||||
<li>
|
||||
<?= $this->modal->medium('edit', t('Edit'), 'SubtaskController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>
|
||||
|
||||
@@ -5,26 +5,28 @@
|
||||
>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="column-45"><?= t('Title') ?></th>
|
||||
<th class="column-15"><?= t('Assignee') ?></th>
|
||||
<th><?= t('Title') ?></th>
|
||||
<th class="column-10"><?= t('Assignee') ?></th>
|
||||
<?= $this->hook->render('template:subtask:table:header:before-timetracking') ?>
|
||||
<th><?= t('Time tracking') ?></th>
|
||||
<th class="column-30"><?= t('Time tracking') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($subtasks as $subtask): ?>
|
||||
<tr data-subtask-id="<?= $subtask['id'] ?>">
|
||||
<td>
|
||||
<div class="subtask-table-td">
|
||||
<?php if ($editable): ?>
|
||||
<i class="fa fa-arrows-alt draggable-row-handle" title="<?= t('Change subtask position') ?>"></i>
|
||||
<?= $this->render('subtask/menu', array(
|
||||
'task' => $task,
|
||||
'subtask' => $subtask,
|
||||
)) ?>
|
||||
<i class="fa fa-arrows-alt draggable-row-handle" title="<?= t('Change subtask position') ?>"></i>
|
||||
<?= $this->render('subtask/menu', array(
|
||||
'task' => $task,
|
||||
'subtask' => $subtask,
|
||||
)) ?>
|
||||
<?= $this->subtask->renderToggleStatus($task, $subtask, 'table') ?>
|
||||
<?php else: ?>
|
||||
<?= $this->subtask->renderTitle($subtask) ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<?php if (! empty($subtask['username'])): ?>
|
||||
|
||||
Reference in New Issue
Block a user