summaryrefslogtreecommitdiff
path: root/app/Template/header.php
blob: 2fe68ebe195ff3da1efbad1fe8f76ca5d359ac6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php $_title = $this->render('header/title', array(
    'project' => isset($project) ? $project : null,
    'task' => isset($task) ? $task : null,
    'description' => isset($description) ? $description : null,
    'title' => $title,
)) ?>

<?php $_top_right_corner = implode('&nbsp;', array(
        $this->render('header/user_notifications'),
        $this->render('header/creation_dropdown'),
        $this->render('header/user_dropdown')
    )) ?>

<header>
    <div class="title-container">
        <?= $_title ?>
    </div>
    <?php if (! empty($board_selector)): ?>
    <div class="board-selector-container">
        <?= $this->render('header/board_selector', array('board_selector' => $board_selector)) ?>
    </div>
    <?php endif ?>
    <div class="menus-container pull-right">
        <?= $_top_right_corner ?>
    </div>
</header>