mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +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">
|
<div id="main">
|
||||||
<h3>Wiki Pages</h3>
|
<h3>Wiki Pages</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li><%=Html.ActionLink("Create new page", "create") %></li>
|
||||||
<%foreach(var item in Model.Pages.OrderBy(x=>x.Record.Name)){%>
|
<%foreach(var item in Model.Pages.OrderBy(x=>x.Record.Name)){%>
|
||||||
<li><%=Html.ActionLink(item.Record.Name, "show", new { item.ContentItem.Id }, new{})%></li>
|
<li><%=Html.ActionLink(item.Record.Name, "show", new { item.ContentItem.Id }, new{})%></li>
|
||||||
<%}%>
|
<%}%>
|
||||||
|
|||||||
@@ -21,14 +21,14 @@
|
|||||||
<div id="main">
|
<div id="main">
|
||||||
<h3>
|
<h3>
|
||||||
<%=Html.Encode(Model.Page.Record.Name) %></h3>
|
<%=Html.Encode(Model.Page.Record.Name) %></h3>
|
||||||
<p>
|
|
||||||
<%=Html.ActionLink("edit", "edit", new{Model.Page.ContentItem.Id}, new{}) %></p>
|
|
||||||
<div>
|
<div>
|
||||||
body
|
TODO: page body
|
||||||
</div>
|
</div>
|
||||||
<%foreach (var display in Model.Displays) { %>
|
<%foreach (var display in Model.Displays) { %>
|
||||||
<%=Html.DisplayFor(m=>display.Model, display.TemplateName, display.Prefix) %>
|
<%=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>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<% Html.Include("footer"); %>
|
<% Html.Include("footer"); %>
|
||||||
|
|||||||
Reference in New Issue
Block a user