Source

main / Source / WebService / Web.Admin / Views / Shared / _Header.cshtml

Full commit
@using DataUp.Web.Admin
@{
    string name = Helper.GetLoggedInUserName();
}
<header>
    <div class="headerContainer">
    <img src="@Url.Content("~/Styles/Images/logo.png")" class="logo" />
        @if (!Request.IsAuthenticated)
        {
            @*@Html.Action("Index", "Login")*@
        }
        else
        {
            <div class="signinHolder rFloat">
                <div class="signin">
                    <div class="txt lFloat">
                        <a class="signOutLink" style="font-weight:bold" href="@Url.Action("LogOff", "Account")">Sign out</a></div>
                </div>
            </div>
            <label class="userName">
                @name</label>
            if (@name != "")
            {
            <label class="userNameWelcome">
                Welcome</label>
            }
        }
    </div>
</header>