mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 10:07:55 +08:00
Fixing home page widgets on setup
--HG-- branch : 1.x
This commit is contained in:
@@ -3,6 +3,6 @@ c54cb640d6bc14c51b9fb9bd78231bb0facec067 src/Orchard.Web/Modules/Orchard.Forms
|
||||
204bdef384f41bb5e463bed6b98a056945a7d839 src/Orchard.Web/Modules/Orchard.Rules
|
||||
ce578373f907c0a55fd91229a344f0755f290174 src/Orchard.Web/Modules/Orchard.TaskLease
|
||||
5de8193779b694ea153f485d0e777474309de310 src/Orchard.Web/Modules/Orchard.Tokens
|
||||
31038e352d98ae14efcfa7bf6b6935c00644826b src/orchard.web/Modules/Orchard.Alias
|
||||
95eff93f111cc473f24e1547ebc68da8e44e76be src/orchard.web/Modules/Orchard.Alias
|
||||
d89c8e7df5daa5d741b37572c2f75fe45962c3c9 src/orchard.web/Modules/Orchard.Projections
|
||||
055083c158c00b185aa9e2aff1a76161f32fdcf7 src/orchard.web/modules/Orchard.Fields
|
||||
|
@@ -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