mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
Adding some links for convenience
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041464
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
<div id="main">
|
||||
<h3>Wiki Pages</h3>
|
||||
<ul>
|
||||
<li><%=Html.ActionLink("Create new page", "create") %></li>
|
||||
<%foreach(var item in Model.Pages.OrderBy(x=>x.Record.Name)){%>
|
||||
<li><%=Html.ActionLink(item.Record.Name, "show", new { item.ContentItem.Id }, new{})%></li>
|
||||
<%}%>
|
||||
|
@@ -21,14 +21,14 @@
|
||||
<div id="main">
|
||||
<h3>
|
||||
<%=Html.Encode(Model.Page.Record.Name) %></h3>
|
||||
<p>
|
||||
<%=Html.ActionLink("edit", "edit", new{Model.Page.ContentItem.Id}, new{}) %></p>
|
||||
<div>
|
||||
body
|
||||
TODO: page body
|
||||
</div>
|
||||
<%foreach (var display in Model.Displays) { %>
|
||||
<%=Html.DisplayFor(m=>display.Model, display.TemplateName, display.Prefix) %>
|
||||
<%} %>
|
||||
<p>
|
||||
<%=Html.ActionLink("Edit this page", "edit", new{Model.Page.ContentItem.Id}, new{}) %>, <%=Html.ActionLink("Return to list", "index") %></p>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<% Html.Include("footer"); %>
|
||||
|
Reference in New Issue
Block a user