diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-06-20 21:59:59 -0300 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-06-20 21:59:59 -0300 |
commit | b513313c2fbfb0e5f15cab97ea74929b5c0d0a60 (patch) | |
tree | f96d6022f88fc22fc82f85e68a57eddafb423d39 /app/Templates/layout.php | |
parent | 08621f99e6333c5e218724d173654bf225586d59 (diff) |
Add a board selector instead of the list of projects
Diffstat (limited to 'app/Templates/layout.php')
-rw-r--r-- | app/Templates/layout.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Templates/layout.php b/app/Templates/layout.php index 62377588..b45ddb96 100644 --- a/app/Templates/layout.php +++ b/app/Templates/layout.php @@ -31,8 +31,14 @@ <?php else: ?> <header> <nav> - <a class="logo" href="?">kan<span>board</span></a> + <a class="logo" href="?">kanboard</a> + <ul> + <?php if (isset($board_selector)): ?> + <li> + <?= Helper\form_select('board-selector', $board_selector) ?> + </li> + <?php endif ?> <li <?= isset($menu) && $menu === 'boards' ? 'class="active"' : '' ?>> <a href="?controller=board"><?= t('Boards') ?></a> </li> |