* App.master: little redesign

* Profile.aspx: simpler is better
This commit is contained in:
Paul Schneider 2014-10-06 03:23:28 +02:00
commit 8f9a1e3e04
2 changed files with 5 additions and 10 deletions

View file

@ -13,18 +13,18 @@
<body>
<header>
<div id="login">
<%= Html.ActionLink( YavscHelpers.SiteName, "Index", "Home" ) %>
<% if (Membership.GetUser()==null) { %>
<%= Html.ActionLink( YavscHelpers.SiteName, "Index", "Home" ) %>
<%= Html.ActionLink("Login", "Login", "Account", new { returnUrl=Request.Url.PathAndQuery }, null ) %>
<% } else { %>
<%= HttpContext.Current.User.Identity.Name %>
<%= HttpContext.Current.User.Identity.Name %> @ <%= Html.ActionLink( YavscHelpers.SiteName, "Index", "Home" ) %>
<%= Html.ActionLink( "Logout", "Logout", "Account", new { returnUrl=Request.Url.PathAndQuery }, null) %>
<%= Html.ActionLink( "Poster", "Post", "Blogs" ) %>
<%= Html.ActionLink( "Profile", "Profile", "Account" ) %>
<%= Html.ActionLink( "Logout", "Logout", "Account", new { returnUrl=Request.Url.PathAndQuery }, null) %>
<% } %>