inbox now directly shows up in navbar

This commit is contained in:
pixeldesu 2014-08-18 16:26:12 +02:00
parent 807140c2a4
commit 65a6196c64

View File

@ -13,12 +13,14 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<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">
{if="$logged_in"}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$user_name}<b class="caret"></b></a>
<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 class="divider"></li>
<li><a href="ucp.php?page=logout">Logout</a></li>