Fix broken url for closed tasks in project view
This commit is contained in:
@@ -12,6 +12,7 @@ New features:
|
|||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
* Wrong template name for subtasks tooltip due to previous refactoring
|
* Wrong template name for subtasks tooltip due to previous refactoring
|
||||||
|
* Fix broken url for closed tasks in project view
|
||||||
|
|
||||||
Version 1.0.17
|
Version 1.0.17
|
||||||
--------------
|
--------------
|
||||||
|
|||||||
@@ -23,11 +23,11 @@
|
|||||||
<?php if ($stats['nb_tasks'] > 0): ?>
|
<?php if ($stats['nb_tasks'] > 0): ?>
|
||||||
|
|
||||||
<?php if ($stats['nb_active_tasks'] > 0): ?>
|
<?php if ($stats['nb_active_tasks'] > 0): ?>
|
||||||
<li><?= $this->url->link(t('%d tasks on the board', $stats['nb_active_tasks']), 'board', 'show', array('project_id' => $project['id'])) ?></li>
|
<li><?= $this->url->link(t('%d tasks on the board', $stats['nb_active_tasks']), 'board', 'show', array('project_id' => $project['id'], 'search' => 'status:open')) ?></li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($stats['nb_inactive_tasks'] > 0): ?>
|
<?php if ($stats['nb_inactive_tasks'] > 0): ?>
|
||||||
<li><?= $this->url->link(t('%d closed tasks', $stats['nb_inactive_tasks']), 'project', 'tasks', array('project_id' => $project['id'])) ?></li>
|
<li><?= $this->url->link(t('%d closed tasks', $stats['nb_inactive_tasks']), 'listing', 'show', array('project_id' => $project['id'], 'search' => 'status:closed')) ?></li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<li><?= t('%d tasks in total', $stats['nb_tasks']) ?></li>
|
<li><?= t('%d tasks in total', $stats['nb_tasks']) ?></li>
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
Closing tasks
|
Closing tasks
|
||||||
=============
|
=============
|
||||||
|
|
||||||
When a task is closed, they are hidden from the board. However, you can always access to the list of closed tasks from the board menu **Board > Actions > Completed tasks**.
|
When a task is closed, they are hidden from the board.
|
||||||
|
|
||||||
|
However, you can always access to the list of closed tasks by using the query **status:closed** in any search form or simply choose **Closed tasks** from the filter dropdown.
|
||||||
|
|
||||||
There are two different way to close a task, from the task dropdown menu on the board:
|
There are two different way to close a task, from the task dropdown menu on the board:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user