|
1 | 1 | <h1 class="header-title"> |
2 | | - <?php if (null !== $this->task->customizerFileModel->getByType(1)) : ?> |
| 2 | + <?php if (null !== $this->task->customizerFileModel->getByType(1)): ?> |
3 | 3 | <span class="logo"> |
4 | 4 | <a href="<?= $this->url->href('DashboardController', 'show', array(), false, '', t('Dashboard')) ?>" title="<?= t('Dashboard') ?>"> |
5 | 5 | <img src="<?= $this->url->href('CustomizerFileController', 'image', array('plugin' => 'customizer', 'file_id' => $this->task->customizerFileModel->getIdByType(1))) ?>" height="<?= $this->task->configModel->get('headerlogo_size', '30') ?>"> |
6 | 6 | </a> |
7 | 7 | </span> |
8 | 8 | <?php else: ?> |
9 | 9 | <span class="logo"> |
10 | | - <?= $this->url->link('<img src="' . $this->url->dir() . 'plugins/ApplicationBranding/Assets/img/workspace-icon-500x500.png" width="40px" style="vertical-align: middle;" alt="' . t('Workspace logo') .'">', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?> |
| 10 | + <?= $this->url->link('<img src="' . $this->url->dir() . 'plugins/ApplicationBranding/Assets/img/workspace-icon-500x500.png" width="40px" style="vertical-align: middle;" alt="' . t('Workspace logo') . '">', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?> |
11 | 11 | </span> |
12 | 12 | <?php endif ?> |
13 | 13 | <span class="title"> |
14 | | - <?php if (! empty($project) && ! empty($task)): ?> |
| 14 | + <?php if (!empty($project) && !empty($task)): ?> |
15 | 15 | <?= $this->url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?> |
16 | 16 | <?php else: ?> |
17 | 17 | <?= $this->text->e($title) ?> |
18 | | - <?php if (! empty($project) && $project['task_limit'] && array_key_exists('nb_active_tasks', $project)): ?> |
| 18 | + <?php if (!empty($project) && $project['task_limit'] && array_key_exists('nb_active_tasks', $project)): ?> |
19 | 19 | (<span><?= intval($project['nb_active_tasks']) ?></span> / <span title="<?= t('Task Limit') ?>"><span class="ui-helper-hidden-accessible"><?= t('Task Limit') ?> </span><?= $this->text->e($project['task_limit']) ?></span>) |
20 | 20 | <?php endif ?> |
21 | 21 | <?php endif ?> |
22 | 22 | </span> |
23 | | - <?php if (! empty($description)): ?> |
| 23 | + <?php if (!empty($description)): ?> |
24 | 24 | <?= $this->app->tooltipHTML($description) ?> |
25 | 25 | <?php endif ?> |
26 | 26 | </h1> |
0 commit comments