Localize non components for the pages

This commit is contained in:
hishamco
2020-11-20 00:50:14 +03:00
parent 917caab7a1
commit 9a3fd94c11
3 changed files with 34 additions and 31 deletions

View File

@ -2,6 +2,7 @@
@inherits ModuleBase
@inject NavigationManager NavigationManager
@inject IPageService PageService
@inject IStringLocalizer<Index> Localizer
@if (PageState.Pages != null)
{
@ -11,7 +12,7 @@
<Header>
<th style="width: 1px;">&nbsp;</th>
<th style="width: 1px;">&nbsp;</th>
<th>Name</th>
<th>@Localizer["Name"]</th>
</Header>
<Row>
<td><ActionLink Action="Edit" Parameters="@($"id=" + context.PageId.ToString())" ResourceKey="EditPage" /></td>