mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 03:58:13 +08:00
Fixing home page widgets on setup
--HG-- branch : 1.x
This commit is contained in:
@@ -45,6 +45,7 @@ namespace Orchard.Widgets.Commands {
|
||||
}
|
||||
var owner = _membershipService.GetUser(Owner);
|
||||
layer.As<ICommonPart>().Owner = owner;
|
||||
_contentManager.Flush();
|
||||
|
||||
Context.Output.WriteLine(T("Layer created successfully.").Text);
|
||||
}
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
@Html.LabelFor(widget => widget.Name, T("Name"))
|
||||
@Html.TextBoxFor(widget => widget.Name)
|
||||
@Html.TextBoxFor(widget => widget.Name, new { @class = "text-box" })
|
||||
<span class="hint">@T("The technical name of the Widget, used for css class and alternates.")</span>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user