summaryrefslogtreecommitdiff
path: root/app/Template/board/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/index.php')
-rw-r--r--app/Template/board/index.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/Template/board/index.php b/app/Template/board/index.php
new file mode 100644
index 00000000..21040373
--- /dev/null
+++ b/app/Template/board/index.php
@@ -0,0 +1,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>