mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
#17963: Applying theme from preview
Work Item: 17963 --HG-- branch : 1.x
This commit is contained in:
parent
0b7496c4e7
commit
a15b1a8022
@ -62,6 +62,7 @@ html.dyn #themepreview button.preview { display:none; }
|
||||
<span>@T("You are previewing: ")</span>
|
||||
@Html.DropDownList("ThemeName", themes, new {onChange = "this.form.submit();"})
|
||||
@Html.Hidden("ReturnUrl", Context.Request.RawUrl)
|
||||
@Html.Hidden("ThemeId", themes.FirstOrDefault(x => x.Selected).Value)
|
||||
<button type="submit" class="preview" title="@T("Preview")" name="submit.Preview" value="@T("Preview")">@T("Preview")</button>
|
||||
<button type="submit" title="@T("Apply")" name="submit.Apply" value="@T("Apply")">@T("Apply this theme")</button>
|
||||
<button type="submit" class="cancel" title="@T("Cancel")" name="submit.Cancel" value="@T("Cancel")">@T("Cancel")</button>
|
||||
|
Loading…
Reference in New Issue
Block a user