generated from aljawaid/KanboardSkeletonPlugin
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<h1 class="header-title"> | ||
<span class="logo"> | ||
<?= $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')) ?> | ||
<?= $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')) ?> | ||
</span> | ||
<span class="title"> | ||
<?php if (! empty($project) && ! empty($task)): ?> | ||
<?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 if (! empty($project) && $project['task_limit'] && array_key_exists('nb_active_tasks', $project)): ?> | ||
<?php if (!empty($project) && $project['task_limit'] && array_key_exists('nb_active_tasks', $project)): ?> | ||
(<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>) | ||
<?php endif ?> | ||
<?php endif ?> | ||
</span> | ||
<?php if (! empty($description)): ?> | ||
<?php if (!empty($description)): ?> | ||
<?= $this->app->tooltipHTML($description) ?> | ||
<?php endif ?> | ||
</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<h1 class="header-title"> | ||
<?php if (null !== $this->task->customizerFileModel->getByType(1)) : ?> | ||
<?php if (null !== $this->task->customizerFileModel->getByType(1)): ?> | ||
<span class="logo"> | ||
<a href="<?= $this->url->href('DashboardController', 'show', array(), false, '', t('Dashboard')) ?>" title="<?= t('Dashboard') ?>"> | ||
<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') ?>"> | ||
</a> | ||
</span> | ||
<?php else: ?> | ||
<span class="logo"> | ||
<?= $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')) ?> | ||
<?= $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')) ?> | ||
</span> | ||
<?php endif ?> | ||
<span class="title"> | ||
<?php if (! empty($project) && ! empty($task)): ?> | ||
<?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 if (! empty($project) && $project['task_limit'] && array_key_exists('nb_active_tasks', $project)): ?> | ||
<?php if (!empty($project) && $project['task_limit'] && array_key_exists('nb_active_tasks', $project)): ?> | ||
(<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>) | ||
<?php endif ?> | ||
<?php endif ?> | ||
</span> | ||
<?php if (! empty($description)): ?> | ||
<?php if (!empty($description)): ?> | ||
<?= $this->app->tooltipHTML($description) ?> | ||
<?php endif ?> | ||
</h1> |