mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
parent
60be23ed73
commit
3689cf8bf4
@ -132,6 +132,10 @@ position:absolute;
|
||||
top:1px;
|
||||
width:20px;
|
||||
}
|
||||
.widgets-listed .widgets-zone-widgets h3,
|
||||
.widgets-listed .widgets-zone-widgets .contentType {
|
||||
display: inline;
|
||||
}
|
||||
.widgets-listed .widgets-move {
|
||||
background:url(images/arrows.png) 7px -31px no-repeat;
|
||||
border:0;
|
||||
|
@ -1,4 +1,5 @@
|
||||
@model Orchard.Widgets.Models.WidgetPart
|
||||
<h2>@Model.TypeDefinition.DisplayName</h2>
|
||||
<fieldset>
|
||||
@Html.LabelFor(widget => widget.Zone, T("Zone"))
|
||||
@Html.DropDownListFor(widget => widget.Zone, new SelectList(Model.AvailableZones))
|
||||
|
@ -22,7 +22,7 @@
|
||||
foreach (WidgetPart widget in widgets.Where(w => w.Zone == zone).OrderBy(w => w.Position, new Orchard.UI.FlatPositionComparer())) {
|
||||
<li class="widgets-@(widget.LayerId == Model.CurrentLayer.Id ? "this" : "other")-layer widgets-layer-@widget.LayerId@(i == 0 ? " first" : (i == count ? " last" : ""))">
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
<h3>@Html.ActionLink(HasText(widget.Title) ? widget.Title : widget.TypeDefinition.DisplayName, "EditWidget", new { @widget.Id, returnUrl })</h3>
|
||||
<h3>@Html.ActionLink(HasText(widget.Title) ? widget.Title : widget.TypeDefinition.DisplayName, "EditWidget", new { @widget.Id, returnUrl })</h3><div class="contentType"> - @widget.TypeDefinition.DisplayName</div>
|
||||
<div class="widgets-actions">
|
||||
@if (widget.LayerId != Model.CurrentLayer.Id) {
|
||||
<button name="moveHere" class="link" type="submit" value="1">@T("Move to current layer")</button>
|
||||
|
Loading…
Reference in New Issue
Block a user