mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fix bug in item admin
The link can't go to the front-end since we are showing all content items, even the ones that are not published. --HG-- branch : dev
This commit is contained in:
@@ -34,7 +34,7 @@ else {
|
|||||||
@foreach (IContent content in View.ContentItems) {
|
@foreach (IContent content in View.ContentItems) {
|
||||||
<tr>
|
<tr>
|
||||||
<td>@content.ContentItem.ContentType.CamelFriendly()</td>
|
<td>@content.ContentItem.ContentType.CamelFriendly()</td>
|
||||||
<td>@Html.ItemDisplayLink(content.ContentItem)</td>
|
<td>@Html.ItemEditLink(content.ContentItem)</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user