update to resources
This commit is contained in:
@ -2,10 +2,11 @@
|
||||
@inherits ModuleBase
|
||||
@inject IJobService JobService
|
||||
@inject IStringLocalizer<Index> Localizer
|
||||
@inject IStringLocalizer<SharedResources> SharedLocalizer
|
||||
|
||||
@if (_jobs == null)
|
||||
{
|
||||
<p><em>@Localizer["Loading"]</em></p>
|
||||
<p><em>@SharedLocalizer["Loading"]</em></p>
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -19,8 +20,8 @@ else
|
||||
<th style="width: 1px;"> </th>
|
||||
<th style="width: 1px;"> </th>
|
||||
<th style="width: 1px;"> </th>
|
||||
<th>@Localizer["Name"]</th>
|
||||
<th>@Localizer["Status"]</th>
|
||||
<th>@SharedLocalizer["Name"]</th>
|
||||
<th>@SharedLocalizer["Status"]</th>
|
||||
<th>@Localizer["Frequency"]</th>
|
||||
<th>@Localizer["NextExecution"]</th>
|
||||
<th style="width: 1px;"> </th>
|
||||
@ -36,11 +37,11 @@ else
|
||||
<td>
|
||||
@if (context.IsStarted)
|
||||
{
|
||||
<button type="button" class="btn btn-danger" @onclick="(async () => await StopJob(context.JobId))">@Localizer["Stop"]</button>
|
||||
<button type="button" class="btn btn-danger" @onclick="(async () => await StopJob(context.JobId))">@SharedLocalizer["Stop"]</button>
|
||||
}
|
||||
else
|
||||
{
|
||||
<button type="button" class="btn btn-success" @onclick="(async () => await StartJob(context.JobId))">@Localizer["Start"]</button>
|
||||
<button type="button" class="btn btn-success" @onclick="(async () => await StartJob(context.JobId))">@SharedLocalizer["Start"]</button>
|
||||
}
|
||||
</td>
|
||||
</Row>
|
||||
|
Reference in New Issue
Block a user