Do not set anchor for the default swimlane on the link back to board

This commit is contained in:
Frederic Guillot 2015-07-08 19:38:52 -04:00
parent 8ddf285f76
commit 61fb47bf3a
1 changed files with 1 additions and 1 deletions

View File

@ -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>