mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-22 21:02:08 +08:00
- Pages: Display the date when the page will be published when it's scheduled for being published at a future date.
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045304
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
<th scope="col">Title</th>
|
||||
<th scope="col">Slug</th>
|
||||
<th scope="col">Author</th>
|
||||
<th scope="col">Last Updated</th>
|
||||
<th scope="col">Draft</th>
|
||||
<th scope="col">Scheduled</th>
|
||||
<th scope="col"></th>
|
||||
@@ -75,13 +74,18 @@
|
||||
<% } %>
|
||||
</td>
|
||||
<td>By <%= pageEntry.Page.Creator.UserName %></td>
|
||||
<td></td>
|
||||
<td>
|
||||
<% if (pageEntry.Page.HasDraft) { %>
|
||||
<img src="<%=ResolveUrl("~/Packages/Orchard.Pages/Content/Admin/images/draft.gif") %>" alt="Draft" title="The page has a draft" />
|
||||
<% } %>
|
||||
</td>
|
||||
<td></td>
|
||||
<td>
|
||||
<% if (!pageEntry.Page.IsPublished) {%>
|
||||
<%=pageEntry.Page.Published != null
|
||||
? string.Format("{0:d}<br />{0:t}", pageEntry.Page.Published.Value)
|
||||
: "" %>
|
||||
<% }%>
|
||||
</td>
|
||||
<td><%=Html.ActionLink("Edit", "Edit", new { pageSlug = pageEntry.Page.Slug }) %></td>
|
||||
</tr>
|
||||
<%
|
||||
|
||||
Reference in New Issue
Block a user