[Main menu] Added user option to hide notes in the main menu. Fixes #942.

This commit is contained in:
Andreas
2021-03-20 21:19:07 +01:00
parent fb679a6117
commit 997ae932ec
6 changed files with 47 additions and 4 deletions

View File

@@ -73,8 +73,9 @@
</li>
<!-- Notes -->
<?php if ($this->session->userdata('user_show_notes') == 1) { ?>
<a class="nav-link" href="<?php echo site_url('notes');?>">Notes</a>
<?php } ?>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Analytics</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">