mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
fixed highlighting of current site
This commit is contained in:
parent
1f02ec4450
commit
ce1b280770
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li class="nav-item <?php if($site=="list"){print_r("active");} ?>">
|
||||
<li class="nav-item <?php if(($site=="list")||($site=="-1")){print_r("active");} ?>">
|
||||
<a class="nav-link" href="/list"><i class="fas fa-list"></i> Liste</a>
|
||||
</li>
|
||||
<li class="nav-item <?php if($site=="recipes"){print_r("active");} ?>">
|
||||
|
|
Loading…
Reference in a new issue