diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-09 20:04:27 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-09 20:04:27 -0500 |
commit | 7eadf7cfd80176ab9b74c9c6a55c28db0f43fa88 (patch) | |
tree | b55b32bf9200f4ed045adfabaadb00d0ce20fc65 /app/Template/board/index.php | |
parent | e89ba5e9e692f33427fedb05a095255f27480a6b (diff) |
Start templates cleanup and reorganisation
Diffstat (limited to 'app/Template/board/index.php')
-rw-r--r-- | app/Template/board/index.php | 21 |
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> |