Navbar category now will follow you to various screens #3

pull/13/head
tidusjar 9 years ago
parent 22fe944c43
commit 895558218a

@ -34,12 +34,34 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
@if (Context.Request.Path == "/search")
{
<li class="active"><a href="/search">Search</a></li>
}
else
{
<li><a href="/search">Search</a></li>
}
@if (Context.CurrentUser.IsAuthenticated())
{
<li><a href="/admin">Admin</a></li>
if (Context.Request.Path == "/admin")
{
<li class="active"><a href="/admin">Admin</a></li>
}
else
{
<li class="active"><a href="/admin">Admin</a></li>
}
}
@if (Context.Request.Path == "/requests")
{
<li class="active"><a href="/requests">Requests</a></li>
}
else
{
<li><a href="/requests">Requests</a></li>
}
</ul>
<ul class="nav navbar-nav navbar-right">
@if (!Context.CurrentUser.IsAuthenticated())

Loading…
Cancel
Save