diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-07 12:51:03 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-07 12:51:03 -0400 |
commit | 69c6271c6e43451a3da945d60a5435e224e7c782 (patch) | |
tree | 348c8006d407975b1a55fa6eaa78368fba910575 /app/Template/header/title.php | |
parent | 590d2c239637269c66bcc39d7c72fda6a564efcc (diff) |
Convert application header to grid system
Diffstat (limited to 'app/Template/header/title.php')
-rw-r--r-- | app/Template/header/title.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Template/header/title.php b/app/Template/header/title.php new file mode 100644 index 00000000..61c6ee9a --- /dev/null +++ b/app/Template/header/title.php @@ -0,0 +1,17 @@ +<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)): ?> + <small class="tooltip" title="<?= $this->text->markdownAttribute($description) ?>"> + <i class="fa fa-info-circle"></i> + </small> + <?php endif ?> +</h1> |