Improve project page titles

This commit is contained in:
Frederic Guillot
2016-07-24 13:55:35 -04:00
parent a3b4b25df2
commit 9d6715ddc0
10 changed files with 36 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
<?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
</span>
<span class="title">
<?php if (isset($project) && ! empty($project)): ?>
<?php if (! empty($project) && ! empty($task)): ?>
<?= $this->url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?>
<?php else: ?>
<?= $this->text->e($title) ?>