inbox now directly shows up in navbar
This commit is contained in:
parent
807140c2a4
commit
65a6196c64
@ -13,12 +13,14 @@
|
|||||||
|
|
||||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
|
<ul class="nav navbar-nav">
|
||||||
|
{if="$logged_in"}<li><a href="ucp.php">Inbox {if="$inbox_count > 0"}<span class="badge">{$inbox_count}</span>{/if}</a></li>{/if}
|
||||||
|
</ul>
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
{if="$logged_in"}
|
{if="$logged_in"}
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$user_name}<b class="caret"></b></a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$user_name}<b class="caret"></b></a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="ucp.php">Inbox{if="$inbox_count > 0"} ({$inbox_count}){/if}</a></li>
|
|
||||||
<li><a href="ucp.php?page=settings">Settings</a></li>
|
<li><a href="ucp.php?page=settings">Settings</a></li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li><a href="ucp.php?page=logout">Logout</a></li>
|
<li><a href="ucp.php?page=logout">Logout</a></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user