-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcustomizerTitle.php
17 lines (17 loc) · 981 Bytes
/
customizerTitle.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<span class="logo">
<?php if (null !== $this->task->customizerFileModel->getByType(1)) : ?>
<?= $this->url->link('<img src="'.$this->url->href("CustomizerFileController", "image", array("plugin" => "customizer", "file_id" => $this->task->customizerFileModel->getIdByType(1))).'" style="float: left;max-height: 40px;margin-top: -7px;margin-right: 10px;" >', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
<?php endif ?>
</span>
<h1>
<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->tooltipHTML($description) ?>
<?php endif ?>
</h1>