Add link in project name
This commit is contained in:
@@ -5,7 +5,11 @@
|
|||||||
<?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
|
<?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
|
||||||
</span>
|
</span>
|
||||||
<span class="title">
|
<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>
|
</span>
|
||||||
<?php if (! empty($description)): ?>
|
<?php if (! empty($description)): ?>
|
||||||
<span class="tooltip" title="<?= $this->text->markdownAttribute($description) ?>">
|
<span class="tooltip" title="<?= $this->text->markdownAttribute($description) ?>">
|
||||||
|
|||||||
@@ -58,6 +58,7 @@
|
|||||||
'title' => $title,
|
'title' => $title,
|
||||||
'description' => isset($description) ? $description : '',
|
'description' => isset($description) ? $description : '',
|
||||||
'board_selector' => isset($board_selector) ? $board_selector : array(),
|
'board_selector' => isset($board_selector) ? $board_selector : array(),
|
||||||
|
'project' => isset($project) ? $project : array(),
|
||||||
)) ?>
|
)) ?>
|
||||||
<section class="page">
|
<section class="page">
|
||||||
<?= $this->app->flashMessage() ?>
|
<?= $this->app->flashMessage() ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user