summaryrefslogtreecommitdiff
path: root/app/Template/task/layout.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-08 19:38:52 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-08 19:38:52 -0400
commit61fb47bf3a595acf3c85707426890b2338b1d9b4 (patch)
treef9076ae47b87f575f64f2aea44054e9c8b0b3569 /app/Template/task/layout.php
parent8ddf285f765bdfef842b18a33d6dcfc2c25d00d0 (diff)
Do not set anchor for the default swimlane on the link back to board
Diffstat (limited to 'app/Template/task/layout.php')
-rw-r--r--app/Template/task/layout.php2
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>