sets actionlink and block disply to titles

This commit is contained in:
Paul Schneider 2015-08-05 02:41:53 +02:00
commit 801c7b05d2
4 changed files with 10 additions and 4 deletions

View file

@ -6,8 +6,8 @@
<h1 class="blogtitle"><% if (ViewData["Avatar"]!=null) { %>
<img src="<%=ViewData["Avatar"]%>" alt="" id="logo"/>
<% } %>
<%= Html.ActionLink(Model.Title,"UserPost","Blog",new{user=Model.UserName, title = Model.Title}) %>
<span class="c2"> - <%= 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;"}) %>
<span class="c2"> - <%= Html.ActionLink((string)ViewData ["BlogTitle"] ,"UserPosts",new{user=Model.UserName}, new { @class = "usertitleref actionlink" , style="display:block;"}) %>
</span>
<span class="c3"> -
<a href="<%=Request.Url.Scheme + "://" + Request.Url.Authority%>"><%= YavscHelpers.SiteName %></a>