This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
}
|
||||
|
||||
<section class="admin-page-shell">
|
||||
<partial name="_AdminPageHeader" model='("콘텐츠", "블로그 관리", "검색, 발행 상태, 작성일 기준의 블로그 목록입니다.", "/admin/blog/create", "새 글 작성")' />
|
||||
@await Html.PartialAsync("_AdminPageHeader", new TaxBaik.Web.Models.AdminPageHeaderModel("콘텐츠", "블로그 관리", "검색, 발행 상태, 작성일 기준의 블로그 목록입니다.", "/admin/blog/create", "새 글 작성"))
|
||||
|
||||
<form method="get" class="card mb-3">
|
||||
<div class="card-body">
|
||||
@@ -39,7 +39,7 @@
|
||||
@if (Model.Items.Count == 0)
|
||||
{
|
||||
<tr>
|
||||
<td colspan="5"><partial name="_EmptyState" model="블로그 글이 없습니다." /></td>
|
||||
<td colspan="5">@await Html.PartialAsync("_EmptyState", "블로그 글이 없습니다.")</td>
|
||||
</tr>
|
||||
}
|
||||
else
|
||||
@@ -51,7 +51,7 @@
|
||||
<div class="fw-semibold">@post.Title</div>
|
||||
<div class="text-muted small">@post.Slug</div>
|
||||
</td>
|
||||
<td><partial name="_StatusBadge" model="@(post.IsPublished ? "active" : "inactive")" /></td>
|
||||
<td>@await Html.PartialAsync("_StatusBadge", post.IsPublished ? "active" : "inactive")</td>
|
||||
<td>@post.ViewCount</td>
|
||||
<td>@post.CreatedAt.ToString("yyyy-MM-dd")</td>
|
||||
<td class="text-end">
|
||||
@@ -68,3 +68,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user