This commit is contained in:
Zel
2025-02-04 21:02:31 +08:00
parent 33fb0efd08
commit a2bbf56724
15 changed files with 16 additions and 16 deletions

View File

@@ -62,7 +62,7 @@
</div>
@if (sessionState.CanModerate == true || h.UserId == sessionState.Profile?.UserId)
{
<a href="?Delete=@h.Id" class="small text-danger text-decoration-none" onclick="return confirm('Are you sure you want to delete this comment?')">Delete</a>
<a href="?Delete=@h.Id" class="small text-danger text-decoration-none" onclick="return confirm('真的要删除吗?')">Delete</a>
}
</div>
</div>

View File

@@ -22,15 +22,15 @@
<strong>Delete page "@Model.PageName"?</strong>
</div>
<div class="card-body">
Deleting "@Model.PageName" will move the page, all @Model.PageRevision revisions and @Model.CountOfAttachments file attachments to the deletion queue.
This action can only be undone by an administrator or moderator.
页面 "@Model.PageName" 将被删除,所有修订和附件也将被删除。
此操作只能由管理员或主持人撤消。
<br /><br />
Are you sure you want to continue with this deletion?<br /><br />
您确定要继续此删除操作吗?<br /><br />
@using (Html.BeginForm(null, null, FormMethod.Post, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" }))
{
<div class="form-group"><button type="submit" class="btn btn-danger rounded-0" name="IsActionConfirmed" value="true">Yes</button>&nbsp;&nbsp;<button type="submit" class="btn btn-success rounded-0" name="IsActionConfirmed" value="false">No</button></div>
<div class="form-group"><button type="submit" class="btn btn-danger rounded-0" name="IsActionConfirmed" value="true"></button>&nbsp;&nbsp;<button type="submit" class="btn btn-success rounded-0" name="IsActionConfirmed" value="false"></button></div>
}
</div>
</div>

View File

@@ -25,7 +25,7 @@
@using (Html.BeginForm(null, null, FormMethod.Post, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" }))
{
<div class="form-group"><button type="submit" class="btn btn-warning rounded-0" name="IsActionConfirmed" value="true">Yes</button>&nbsp;&nbsp;<button type="submit" class="btn btn-success rounded-0" name="IsActionConfirmed" value="false">No</button></div>
<div class="form-group"><button type="submit" class="btn btn-warning rounded-0" name="IsActionConfirmed" value="true"></button>&nbsp;&nbsp;<button type="submit" class="btn btn-success rounded-0" name="IsActionConfirmed" value="false"></button></div>
}
</div>
</div>

View File

@@ -6,11 +6,11 @@
}
<h3>
Page Search
搜索
</h3>
<p>
If it's here, you should be able to find it.<br /><br />
找找有没有你想要的<br /><br />
</p>
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
@@ -29,7 +29,7 @@
<div class="flex-grow-1 me-2">
@Html.TextBoxFor(x => x.SearchString, new { @class = "form-control", style = "width:100%" })
</div>
<button type="submit" value="Find" class="btn btn-primary">Search</button>
<button type="submit" value="Find" class="btn btn-primary">搜一搜</button>
</div>
</div>
<br />
@@ -52,7 +52,7 @@
{
<div class="d-flex small text-muted mb-0">
<strong>
Your search criteria resulted in no pages, simplify your search text.
好像啥也没查到哎
</strong>
</div>
}