diff options
Diffstat (limited to 'app/Templates/layout.php')
-rw-r--r-- | app/Templates/layout.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Templates/layout.php b/app/Templates/layout.php index 99382ae1..f2082db7 100644 --- a/app/Templates/layout.php +++ b/app/Templates/layout.php @@ -38,7 +38,7 @@ <a class="logo" href="?">kanboard</a> <ul> - <?php if (isset($board_selector)): ?> + <?php if (isset($board_selector) && ! empty($board_selector)): ?> <li> <select id="board-selector" data-placeholder="<?= t('Display another project') ?>"> <option value=""></option> @@ -58,13 +58,13 @@ <a href="?controller=user"><?= t('Users') ?></a> </li> <?php if (Helper\is_admin()): ?> - <li <?= isset($menu) && $menu === 'config' ? 'class="active"' : '' ?>> + <li class="hide-tablet <?= isset($menu) && $menu === 'config' ? 'active' : '' ?>"> <a href="?controller=config"><?= t('Settings') ?></a> </li> <?php endif ?> <li> <a href="?controller=user&action=logout<?= Helper\param_csrf() ?>"><?= t('Logout') ?></a> - (<a class="username" href="?controller=user&action=show&user_id=<?= Helper\get_user_id() ?>"><?= Helper\escape(Helper\get_username()) ?></a>) + <span class="username">(<a href="?controller=user&action=show&user_id=<?= Helper\get_user_id() ?>"><?= Helper\escape(Helper\get_username()) ?></a>)</span> </li> </ul> </nav> |