summaryrefslogtreecommitdiff
path: root/app/Template/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/header.php')
-rw-r--r--app/Template/header.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/header.php b/app/Template/header.php
index 15b70ead..4efd1996 100644
--- a/app/Template/header.php
+++ b/app/Template/header.php
@@ -5,7 +5,11 @@
<?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
</span>
<span class="title">
- <?= $this->text->e($title) ?>
+ <?php if (isset($project) && ! empty($project)): ?>
+ <?= $this->url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?>
+ <?php else: ?>
+ <?= $this->text->e($title) ?>
+ <?php endif ?>
</span>
<?php if (! empty($description)): ?>
<span class="tooltip" title="<?= $this->text->markdownAttribute($description) ?>">