Adding some links for convenience

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041464
This commit is contained in:
loudej
2009-11-19 23:33:07 +00:00
parent 1c35f38b10
commit 5e8e5b7299
2 changed files with 4 additions and 3 deletions

View File

@@ -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>
<%}%>

View File

@@ -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"); %>