diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-08 19:38:52 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-08 19:38:52 -0400 |
commit | 61fb47bf3a595acf3c85707426890b2338b1d9b4 (patch) | |
tree | f9076ae47b87f575f64f2aea44054e9c8b0b3569 /app | |
parent | 8ddf285f765bdfef842b18a33d6dcfc2c25d00d0 (diff) |
Do not set anchor for the default swimlane on the link back to board
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/task/layout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php index ddce4bce..bbccf177 100644 --- a/app/Template/task/layout.php +++ b/app/Template/task/layout.php @@ -3,7 +3,7 @@ <ul> <li> <i class="fa fa-th fa-fw"></i> - <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $task['project_id']), false, '', '', false, 'swimlane-'.$task['swimlane_id']) ?> + <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $task['project_id']), false, '', '', false, $task['swimlane_id'] != 0 ? 'swimlane-'.$task['swimlane_id'] : '') ?> </li> <li> <i class="fa fa-calendar fa-fw"></i> |