diff --git a/web/Models/App.master b/web/Models/App.master index 0fb20616..8e321a67 100644 --- a/web/Models/App.master +++ b/web/Models/App.master @@ -13,18 +13,18 @@
-<%= Html.ActionLink( YavscHelpers.SiteName, "Index", "Home" ) %> - <% if (Membership.GetUser()==null) { %> + <% 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) %> <% } %> diff --git a/web/Views/Account/Profile.aspx b/web/Views/Account/Profile.aspx index e3c9925f..1e650255 100644 --- a/web/Views/Account/Profile.aspx +++ b/web/Views/Account/Profile.aspx @@ -1,12 +1,7 @@ <%@ Page Title="Profile" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %> -<% Title = ViewData["UserName"]+"'s profile" %> - - - -

<%=ViewData["UserName"]%>'s profile - <%=YavscHelpers.SiteName%>

-

+<% Title = ViewData["UserName"]+" at "+ YavscHelpers.SiteName +" - profile edition" ; %>