summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Shared
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-24 15:31:22 -0400
committerMichael <[email protected]>2017-03-24 15:31:22 -0400
commit7c76a963c8e2bc891c38f664c60d9daac31822ee (patch)
treec118a8c19a993988a5a11a9c8d97eab3e97bfb52 /Project-Unite/Views/Shared
parenteae28fa3d278c91f2b42b8420db2dd5704d5a049 (diff)
downloadproject-unite-7c76a963c8e2bc891c38f664c60d9daac31822ee.tar.gz
project-unite-7c76a963c8e2bc891c38f664c60d9daac31822ee.tar.bz2
project-unite-7c76a963c8e2bc891c38f664c60d9daac31822ee.zip
Notification dropdown in navbar is done.
Diffstat (limited to 'Project-Unite/Views/Shared')
-rw-r--r--Project-Unite/Views/Shared/_LoginPartial.cshtml8
1 files changed, 7 insertions, 1 deletions
diff --git a/Project-Unite/Views/Shared/_LoginPartial.cshtml b/Project-Unite/Views/Shared/_LoginPartial.cshtml
index 7abc0d1..3e20d00 100644
--- a/Project-Unite/Views/Shared/_LoginPartial.cshtml
+++ b/Project-Unite/Views/Shared/_LoginPartial.cshtml
@@ -7,7 +7,13 @@
<ul class="nav navbar-nav navbar-right" style="margin-right:15px;">
<li>@Html.NewestUser()</li>
- <li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="glyphicon glyphicon-bullhorn"></span> @Html.NotificationCount(User.Identity.GetUserId())</a></li>
+ <li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="glyphicon glyphicon-bullhorn"></span> @Html.NotificationCount(User.Identity.GetUserId())</a>
+ <ul class="dropdown-menu">
+ <li class="dropdown-header">Notifications (@Html.NotificationCount(User.Identity.Name) unread)</li>
+ @Html.GetLatestUnread(User.Identity.Name)
+ <li>@Html.ActionLink("View all", "Notifications", "Manage")</li>
+ </ul>
+ </li>
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="glyphicon glyphicon-user"></span> @Html.UserName(User.Identity.GetUserId()) <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="@Url.Action("ViewProfile", "Profiles", new { id = ACL.UserNameRaw(User.Identity.GetUserId()) })"><span class="glyphicon glyphicon-user"></span> Profile</a></li>