diff --git a/web/ChangeLog b/web/ChangeLog index 9be7dfbc..c4ca839c 100644 --- a/web/ChangeLog +++ b/web/ChangeLog @@ -1,3 +1,9 @@ +2015-08-05 Paul Schneider + + * Index.aspx: + * UserPost.aspx: + * UserPosts.aspx: sets actionlink and block disply to titles + 2015-08-05 Paul Schneider * Index.aspx: Fixes another link to Blog diff --git a/web/Views/Blogs/Index.aspx b/web/Views/Blogs/Index.aspx index 69db12f7..e8362aed 100644 --- a/web/Views/Blogs/Index.aspx +++ b/web/Views/Blogs/Index.aspx @@ -11,7 +11,7 @@ <%= Html.ActionLink(p.Title, "UserPost", - new { user = g.Key, title = p.Title }, new { @class = "usertitleref" } ) %> + new { user = g.Key, title = p.Title }, new { @class = "usertitleref actionlink" , style="display:block;"} ) %> le <%=p.Posted.ToString("D") %> <% if (Membership.GetUser()!=null) diff --git a/web/Views/Blogs/UserPost.aspx b/web/Views/Blogs/UserPost.aspx index 3157e4e1..0b5cb3a9 100644 --- a/web/Views/Blogs/UserPost.aspx +++ b/web/Views/Blogs/UserPost.aspx @@ -6,8 +6,8 @@

<% if (ViewData["Avatar"]!=null) { %> " alt="" id="logo"/> <% } %> -<%= Html.ActionLink(Model.Title,"UserPost","Blog",new{user=Model.UserName, title = Model.Title}) %> - - <%= Html.ActionLink((string)ViewData ["BlogTitle"] ,"UserPosts",new{user=Model.UserName}) %> +<%= Html.ActionLink(Model.Title,"UserPost", new{user=Model.UserName, title = Model.Title}, new { @class = "usertitleref actionlink" , style="display:block;"}) %> + - <%= Html.ActionLink((string)ViewData ["BlogTitle"] ,"UserPosts",new{user=Model.UserName}, new { @class = "usertitleref actionlink" , style="display:block;"}) %> - "><%= YavscHelpers.SiteName %> diff --git a/web/Views/Blogs/UserPosts.aspx b/web/Views/Blogs/UserPosts.aspx index 346416cc..ed5ecc09 100644 --- a/web/Views/Blogs/UserPosts.aspx +++ b/web/Views/Blogs/UserPosts.aspx @@ -20,7 +20,7 @@ <% foreach (BlogEntry e in this.Model) { %>
style="background-color:#022;" <% } %>> -

<%= Html.ActionLink(e.Title,"UserPost", new { user=e.UserName, title=e.Title, id = e.Id }) %>

+

<%= Html.ActionLink(e.Title,"UserPost", new { user=e.UserName, title=e.Title, id = e.Id }, new { @class = "usertitleref actionlink" , style="display:block;"}) %>

(<%= e.Posted.ToString("yyyy/MM/dd") %> - <%= e.Modified.ToString("yyyy/MM/dd") %> <%= e.Visible? "":", Invisible!" %>) <% if (Membership.GetUser()!=null)