mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Main menu] Added user option to hide notes in the main menu. Fixes #942.
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user