mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 11:17:28 +08:00
Adding back the Enable link for disabled themes (small link, same place as the disable link)
--HG-- branch : dev
This commit is contained in:
@@ -42,6 +42,12 @@
|
||||
<button type="submit" title="Disable">@T("Disable")</button>
|
||||
}
|
||||
}
|
||||
else {
|
||||
using (Html.BeginFormAntiForgeryPost(Url.Action("Enable"), FormMethod.Post, new { @class = "inline link" })) {
|
||||
@Html.Hidden("themeName", (string)Model.ContentPart.Descriptor.Id)
|
||||
<button type="submit" title="Enable">@T("Enable")</button>
|
||||
}
|
||||
}
|
||||
|
||||
@if (Model.ContentPart.NeedsUpdate) {
|
||||
using (Html.BeginFormAntiForgeryPost(Url.Action("Update"), FormMethod.Post, new { @class = "inline link" })) {
|
||||
|
Reference in New Issue
Block a user