Merge pull request #938 from sbwalker/dev

missing IStringLocalizer<Index> causing compilation error
This commit is contained in:
Shaun Walker 2020-11-20 10:30:32 -05:00 committed by GitHub
commit 6185750aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
@namespace Oqtane.Modules.Admin.Jobs @namespace Oqtane.Modules.Admin.Jobs
@inherits ModuleBase @inherits ModuleBase
@inject IJobService JobService @inject IJobService JobService
@inject IStringLocalizer<Index> Localizer
@if (_jobs == null) @if (_jobs == null)
{ {
@ -11,7 +12,8 @@ else
<ActionLink Action="Add" Text="Add Job" ResourceKey="AddJob" /> <ActionLink Action="Add" Text="Add Job" ResourceKey="AddJob" />
<ActionLink Action="Log" Class="btn btn-secondary" Text="View Logs" ResourceKey="ViewJobs" /> <ActionLink Action="Log" Class="btn btn-secondary" Text="View Logs" ResourceKey="ViewJobs" />
<button type="button" class="btn btn-secondary" @onclick="(async () => await Refresh())">Refresh</button> <button type="button" class="btn btn-secondary" @onclick="(async () => await Refresh())">Refresh</button>
<br /><br /> <br />
<br />
<Pager Items="@_jobs"> <Pager Items="@_jobs">
<Header> <Header>