refactoring
This commit is contained in:
parent
1805cb3e17
commit
bb5e34a61d
29 changed files with 609 additions and 272 deletions
10
web/Views/Blogs/TagPanel.ascx
Normal file
10
web/Views/Blogs/TagPanel.ascx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TagInfo>" %>
|
||||
<div class="panel">
|
||||
<i class="fa fa-tag"><%=Model.Name%></i>
|
||||
<ul>
|
||||
<% foreach (BasePostInfo be in Model.Titles) { %>
|
||||
<li><%= be.Title %>
|
||||
<span><%= be.Intro %></span>
|
||||
</li>
|
||||
<% } %></ul>
|
||||
</div>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<h1 class="blogtitle">
|
||||
<a href="<%=Url.RouteUrl( "Blogs", new { user = Model.Author } )%>">
|
||||
<%=Html.Encode(ViewData["BlogTitle"])%></a>
|
||||
- <a href="<%= Url.RouteUrl( "Default") %>"><%= YavscHelpers.SiteName %></a>
|
||||
- <a href="<%= Url.RouteUrl( "Default", new { controller = "Home" } ) %>"><%= YavscHelpers.SiteName %></a>
|
||||
</h1>
|
||||
</asp:Content>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue