mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Updated empty list UI.
--HG-- branch : 1.x
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.navicon-lists,
|
||||
.navicon-list,
|
||||
.section-new .subnavicon-list {
|
||||
background-image:url(images/menu.list.png) !important;
|
||||
}
|
||||
.navicon-lists:hover {
|
||||
.navicon-list:hover {
|
||||
background-position:0 -30px !important;
|
||||
}
|
||||
@@ -50,13 +50,15 @@
|
||||
<button type="submit" name="submit.MoveTo" value="yes">@T("Apply")</button>
|
||||
</div>
|
||||
|
||||
<fieldset class="contentItems bulk-items">
|
||||
@if ((int)Model.ContentItems.Items.Count == 0) {
|
||||
@T("There are no content items.")
|
||||
|
||||
if ((int)Model.ContentItems.Items.Count == 0) {
|
||||
<div class="message notifications">@T("There are no content items.")</div>
|
||||
}
|
||||
else {
|
||||
<fieldset class="contentItems bulk-items">
|
||||
@Display(Model.ContentItems)
|
||||
</fieldset>
|
||||
}
|
||||
</fieldset>
|
||||
|
||||
@Display(Model.Pager)
|
||||
}
|
||||
@@ -26,6 +26,8 @@
|
||||
@Display.Parts_Container_Manage(ContainerDisplayName: Model.ContainerDisplayName, ContainerContentType: Model.ContainerContentType, ContainerId: containerId)
|
||||
<div class="manage">
|
||||
@Html.ActionLink(createLinkText, "Create", new { Area = "Contents", Id = (string)Model.Options.SelectedFilter, ContainerId = containerId, ReturnUrl = Url.Action("List", "Admin", new { Area = "Orchard.Lists", ContainerId = containerId }) }, new { @class = "button primaryAction" })
|
||||
|
||||
@Html.ActionLink(T("Choose Items").ToString(), "Choose", new { TargetContainerId = (int)Model.ContainerId, Area = "Orchard.Lists" }, new { @class = "button primaryAction" })
|
||||
</div>
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
@@ -58,13 +60,15 @@
|
||||
</select>
|
||||
<button type="submit" name="submit.Filter" value="yes please">@T("Apply")</button>
|
||||
</fieldset>
|
||||
<fieldset class="contentItems bulk-items">
|
||||
@if ((int)Model.ContentItems.Items.Count == 0) {
|
||||
@T("The '{0}' {1} has no content items.", Model.ContainerDisplayName, Model.ContainerContentType)
|
||||
|
||||
if ((int)Model.ContentItems.Items.Count == 0) {
|
||||
<div class="message notifications">@T("The '{0}' {1} has no content items.", Model.ContainerDisplayName, Model.ContainerContentType)</div>
|
||||
}
|
||||
else {
|
||||
<fieldset class="contentItems bulk-items">
|
||||
@Display(Model.ContentItems)
|
||||
</fieldset>
|
||||
}
|
||||
</fieldset>
|
||||
|
||||
@Display(Model.Pager)
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<div class="item-properties actions">
|
||||
<p>
|
||||
@Html.ActionLink(T("Choose Items").ToString(), "Choose", new { TargetContainerId = (int)Model.ContainerId, Area = "Orchard.Lists" })
|
||||
<text>|</text>
|
||||
@Html.ActionLink(T("{0} Properties", (string)Model.ContainerContentType).ToString(), "Edit", new { Area = "Contents", Id = (int)Model.ContainerId, ReturnUrl = Html.ViewContext.HttpContext.Request.RawUrl })
|
||||
</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user