diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/board/swimlane.php | 18 | ||||
-rw-r--r-- | app/Template/task/layout.php | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/app/Template/board/swimlane.php b/app/Template/board/swimlane.php index a7741f8d..201ee2fc 100644 --- a/app/Template/board/swimlane.php +++ b/app/Template/board/swimlane.php @@ -1,19 +1,13 @@ -<tr> +<tr id="swimlane-<?= $swimlane['id'] ?>"> <?php if (! $hide_swimlane): ?> <th> - <?php if (! $not_editable && $swimlane['nb_tasks'] > 0): ?> <a href="#" class="board-swimlane-toggle" data-swimlane-id="<?= $swimlane['id'] ?>"> <i class="fa fa-minus-circle hide-icon-swimlane-<?= $swimlane['id'] ?>"></i> <i class="fa fa-plus-circle show-icon-swimlane-<?= $swimlane['id'] ?>" style="display: none"></i> </a> + <span class="board-swimlane-toggle-title show-icon-swimlane-<?= $swimlane['id'] ?>"><?= $this->e($swimlane['name']) ?></span> <?php endif ?> - - <?= $this->e($swimlane['name']) ?> - - <span title="<?= t('Task count') ?>" class="task-count"> - (<span><?= $swimlane['nb_tasks'] ?></span>) - </span> </th> <?php endif ?> @@ -54,7 +48,13 @@ <tr class="swimlane-row-<?= $swimlane['id'] ?>"> <?php if (! $hide_swimlane): ?> - <th></th> + <th class="board-swimlane-title"> + <?= $this->e($swimlane['name']) ?> + + <span title="<?= t('Task count') ?>" class="task-count"> + (<span><?= $swimlane['nb_tasks'] ?></span>) + </span> + </th> <?php endif ?> <?php foreach ($swimlane['columns'] as $column): ?> diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php index 18ddea36..7bfda772 100644 --- a/app/Template/task/layout.php +++ b/app/Template/task/layout.php @@ -3,7 +3,7 @@ <ul> <li> <i class="fa fa-table fa-fw"></i> - <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $task['project_id'])) ?> + <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $task['project_id']), false, '', '', false, 'swimlane-'.$task['swimlane_id']) ?> </li> <li> <i class="fa fa-calendar fa-fw"></i> |