summaryrefslogtreecommitdiff
path: root/app/Template/board/index.php
blob: 210403735ab016765ff482debe8d34ec0fd3e00b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<section id="main">

    <?= Helper\template('board/filters', array(
        'categories' => $categories,
        'users' => $users,
        'project' => $project,
    )) ?>

    <?php if (empty($board)): ?>
        <p class="alert alert-error"><?= t('There is no column in your project!') ?></p>
    <?php else: ?>
        <?= Helper\template('board/show', array(
                'project' => $project,
                'board' => $board,
                'categories' => $categories,
                'board_private_refresh_interval' => $board_private_refresh_interval,
                'board_highlight_period' => $board_highlight_period,
        )) ?>
    <?php endif ?>

</section>