Files

44 lines
1.7 KiB
PHP
Raw Permalink Normal View History

2026-06-01 21:23:12 -07:00
<?php $_title = $this->render('header/title', array(
'project' => isset($project) ? $project : null,
'task' => isset($task) ? $task : null,
'description' => isset($description) ? $description : null,
'title' => $title,
'board_selector' => isset($board_selector) ? $board_selector : null,
)) ?>
<?php $_top_right_corner = implode('&nbsp;', array(
$this->render('header/user_notifications'),
$this->render('header/user_dropdown')
)) ?>
<header>
<div class="logo-container">
<span class="logo">
<?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
</span>
</div>
<div class="title-container">
<?= $_title ?>
</div>
<div class="menus-container">
<?php if (!empty($this->helper->projectHeader->dropdownHtml)): ?>
<div class="dropdown-component" style="display: flex; align-items: center; margin-right: 10px;">
<?= $this->helper->projectHeader->dropdownHtml ?>
</div>
<?php endif ?>
<?php if (!empty($this->helper->projectHeader->viewsHtml)): ?>
<div class="views-switcher-component" style="display: flex; align-items: center; margin-right: 15px;">
<?= $this->helper->projectHeader->viewsHtml ?>
</div>
<?php endif ?>
<?php if (!empty($this->helper->projectHeader->searchHtml)): ?>
<div class="filter-box-component" style="display: flex; align-items: center; margin-right: 15px;">
<?= $this->helper->projectHeader->searchHtml ?>
</div>
<?php endif ?>
<?= $_top_right_corner ?>
</div>
</header>