@using Microsoft.AspNet.Identity
- Send feedback
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
- @ACL.UnreadPostsCount(User.Identity.Name) unread posts
-
@Html.NotificationCount(User.Identity.GetUserId())
-
@Html.UserName(User.Identity.GetUserId())
}
}
else
{
- @Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })
- @Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })
}