summaryrefslogtreecommitdiff
path: root/app/Template/header/title.php
blob: 75fb1af7dc671a01da71b2d46b59e74ff0ca3dc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1>
    <span class="logo">
        <?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
    </span>
    <span class="title">
        <?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) ?>
        <?php endif ?>
    </span>
    <?php if (! empty($description)): ?>
        <?= $this->app->tooltipMarkdown($description) ?>
    <?php endif ?>
</h1>