diff options
Diffstat (limited to 'app/Template/header.php')
-rw-r--r-- | app/Template/header.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Template/header.php b/app/Template/header.php index 13521ae7..a2b3fcb3 100644 --- a/app/Template/header.php +++ b/app/Template/header.php @@ -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) ?> @@ -59,6 +59,7 @@ <?= $this->url->link(t('New private project'), 'ProjectCreationController', 'createPrivate', array(), false, 'popover') ?> </li> <?php endif ?> + <?= $this->hook->render('template:header:creation-dropdown') ?> </ul> </div> <?php endif ?> |