Add link in project name
This commit is contained in:
parent
a27057dd6f
commit
a9025e5102
|
|
@ -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) ?>">
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
'title' => $title,
|
||||
'description' => isset($description) ? $description : '',
|
||||
'board_selector' => isset($board_selector) ? $board_selector : array(),
|
||||
'project' => isset($project) ? $project : array(),
|
||||
)) ?>
|
||||
<section class="page">
|
||||
<?= $this->app->flashMessage() ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue