From a9025e5102a3358e106b56d782a0e7dbb295af59 Mon Sep 17 00:00:00 2001 From: Sébastien Kergreis Date: Fri, 3 Jun 2016 13:59:45 -0500 Subject: Add link in project name --- app/Template/header.php | 6 +++++- app/Template/layout.php | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'app') 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 @@ url->link('KB', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?> - text->e($title) ?> + + url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?> + + text->e($title) ?> + diff --git a/app/Template/layout.php b/app/Template/layout.php index 9c4d69c5..ebce6ffa 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -58,6 +58,7 @@ 'title' => $title, 'description' => isset($description) ? $description : '', 'board_selector' => isset($board_selector) ? $board_selector : array(), + 'project' => isset($project) ? $project : array(), )) ?>
app->flashMessage() ?> -- cgit v1.2.3