docs: #327 trying to fix 404 error
This commit is contained in:
parent
9f81786692
commit
9a1270c3d8
@ -23,7 +23,7 @@
|
||||
alert('انجام شد.');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function savePoemCorrections(id, verseCount) {
|
||||
var verseOrderText = [];
|
||||
@ -148,8 +148,8 @@
|
||||
});
|
||||
}
|
||||
|
||||
function savemeta(id){
|
||||
$('#saving').text('در حال ذخیره ...');
|
||||
function savemeta(id) {
|
||||
$('#saving').text('در حال ذخیره ...');
|
||||
|
||||
var url = '?handler=SaveMeta';
|
||||
|
||||
@ -545,6 +545,10 @@ else
|
||||
</tr>
|
||||
|
||||
}
|
||||
<tr>
|
||||
<td><a role="button" href="/User/EditorAdd/?id=@Model.PageInformation.Id" class="pagebutton">اضافه کردن مصرعهای جاافتاده</a></td>
|
||||
</tr>
|
||||
|
||||
@if (Model.CanEdit && !Model.ShowAdminOps)
|
||||
{
|
||||
<tr>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
@page
|
||||
@model GanjooRazor.Areas.User.Pages.SuggestNewVersesModel
|
||||
@model GanjooRazor.Areas.User.Pages.EditorAddModel
|
||||
@using DNTPersianUtils.Core
|
||||
@{
|
||||
Layout = null;
|
||||
@ -13,7 +13,7 @@ using System;
|
||||
namespace GanjooRazor.Areas.User.Pages
|
||||
{
|
||||
[IgnoreAntiforgeryToken(Order = 1001)]
|
||||
public class SuggestNewVersesModel : PageModel
|
||||
public class EditorAddModel : PageModel
|
||||
{
|
||||
/// <summary>
|
||||
/// HttpClient instance
|
||||
@ -30,7 +30,7 @@ namespace GanjooRazor.Areas.User.Pages
|
||||
/// </summary>
|
||||
/// <param name="httpClient"></param>
|
||||
/// <param name="configuration"></param>
|
||||
public SuggestNewVersesModel(HttpClient httpClient, IConfiguration configuration)
|
||||
public EditorAddModel(HttpClient httpClient, IConfiguration configuration)
|
||||
{
|
||||
_httpClient = httpClient;
|
||||
Configuration = configuration;
|
||||
@ -8,7 +8,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Remove="Areas\User\Pages\SuggestNewVerses.cshtml" />
|
||||
<Content Remove="Areas\User\Pages\EditorAdd.cshtml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -33,16 +33,11 @@
|
||||
|
||||
<ItemGroup>
|
||||
<_ContentIncludedByDefault Remove="Areas\User\Pages\SectionEdits.cshtml" />
|
||||
<_ContentIncludedByDefault Remove="Areas\User\Pages\SuggestNewVerses.cshtml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="Areas\User\Pages\SectionEdits.cshtml" />
|
||||
<None Include="Areas\User\Pages\SuggestNewVerses.cshtml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<UpToDateCheckInput Remove="Areas\User\Pages\SuggestNewVerses.cshtml" />
|
||||
<None Include="Areas\User\Pages\EditorAdd.cshtml" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user