mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Updating sandbox sample
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042288
This commit is contained in:
@@ -25,14 +25,16 @@
|
||||
<h3>Content Types</h3>
|
||||
<ul>
|
||||
<%foreach(var item in Model.Types.OrderBy(x=>x.Name)){%>
|
||||
<li><%=Html.Encode(item.Name) %></li>
|
||||
<li><%=Html.Encode(item.Name) %> </li>
|
||||
<%}%>
|
||||
</ul>
|
||||
|
||||
<h3>Content Items</h3>
|
||||
<ul>
|
||||
<%foreach(var item in Model.Items.OrderBy(x=>x.Id)){%>
|
||||
<li><%=Html.ActionLink(item.Id+": "+item.ContentType.Name, "details", "content", new{item.Id},new{}) %></li>
|
||||
<li><%=Html.ActionLink(item.Id+": "+item.ContentType, "details", "content", new{item.Id},new{}) %>
|
||||
<%=Html.ItemDisplayLink("view", item) %>
|
||||
<%=Html.ItemEditLink("edit", item) %></li>
|
||||
<%}%>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user