summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Shared
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-27 15:47:54 -0400
committerMichael <[email protected]>2017-03-27 15:47:54 -0400
commit93734dd552b9c95da23b517ea1f65854f22c68f6 (patch)
treebe392b5c2c05483c70fd1aa06788bb31b297baef /Project-Unite/Views/Shared
parentfd5302fca4ebeba412a7015955f484b3fcbf142f (diff)
downloadproject-unite-93734dd552b9c95da23b517ea1f65854f22c68f6.tar.gz
project-unite-93734dd552b9c95da23b517ea1f65854f22c68f6.tar.bz2
project-unite-93734dd552b9c95da23b517ea1f65854f22c68f6.zip
Unread posts backend.
Diffstat (limited to 'Project-Unite/Views/Shared')
-rw-r--r--Project-Unite/Views/Shared/_LoginPartial.cshtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Project-Unite/Views/Shared/_LoginPartial.cshtml b/Project-Unite/Views/Shared/_LoginPartial.cshtml
index 3e20d00..8f7aabf 100644
--- a/Project-Unite/Views/Shared/_LoginPartial.cshtml
+++ b/Project-Unite/Views/Shared/_LoginPartial.cshtml
@@ -7,6 +7,7 @@
<ul class="nav navbar-nav navbar-right" style="margin-right:15px;">
<li>@Html.NewestUser()</li>
+ <li><a href="@Url.Action("ViewUnread", "Forum")"><span class="glyphicon glyphicon-star-empty"></span> @ACL.UnreadPostsCount(User.Identity.Name) unread posts</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>