mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Fixing Manage Comments view
- http://orchardqa.codeplex.com/workitem/128 --HG-- branch : dev
This commit is contained in:
@@ -5,13 +5,13 @@
|
|||||||
<h1>@Html.TitleForPage(T("Comments for {0}", Model.DisplayNameForCommentedItem).ToString())</h1>
|
<h1>@Html.TitleForPage(T("Comments for {0}", Model.DisplayNameForCommentedItem).ToString())</h1>
|
||||||
<div class="manage">
|
<div class="manage">
|
||||||
@if (Model.CommentsClosedOnItem) {
|
@if (Model.CommentsClosedOnItem) {
|
||||||
@using (Html.BeginFormAntiForgeryPost(Url.Action("Enable", new { commentedItemId = Model.CommentedItemId }), FormMethod.Post, new { @class = "inline" })) {
|
using (Html.BeginFormAntiForgeryPost(Url.Action("Enable", new { commentedItemId = Model.CommentedItemId }), FormMethod.Post, new { @class = "inline" })) {
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<button type="submit" title="@T("Enable Comments")">@T("Enable Comments")</button>
|
<button type="submit" title="@T("Enable Comments")">@T("Enable Comments")</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@using (Html.BeginFormAntiForgeryPost(Url.Action("Close", new { commentedItemId = Model.CommentedItemId }), FormMethod.Post, new { @class = "inline" })) {
|
using (Html.BeginFormAntiForgeryPost(Url.Action("Close", new { commentedItemId = Model.CommentedItemId }), FormMethod.Post, new { @class = "inline" })) {
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<button type="submit" class="button primaryAction" title="@T("Close Comments")">@T("Close Comments")</button>
|
<button type="submit" class="button primaryAction" title="@T("Close Comments")">@T("Close Comments")</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
Reference in New Issue
Block a user