diff --git a/Client/Modules/SZUAbsolventenverein.Module.PremiumArea/AdminReview.razor b/Client/Modules/SZUAbsolventenverein.Module.PremiumArea/AdminReview.razor new file mode 100644 index 0000000..a2a1d61 --- /dev/null +++ b/Client/Modules/SZUAbsolventenverein.Module.PremiumArea/AdminReview.razor @@ -0,0 +1,179 @@ +@using SZUAbsolventenverein.Module.PremiumArea.Services +@using SZUAbsolventenverein.Module.PremiumArea.Models +@namespace SZUAbsolventenverein.Module.PremiumArea +@inherits ModuleBase +@inject IEngineerApplicationService ApplicationService +@inject NavigationManager NavManager + +
Laden...
+} +else +{ +Keine Anträge gefunden.
+ } + else + { +| Benutzer ID | +Dateiname | +Datum | +Status | + @if (_filterStatus == "Reported") + { +Meldegrund | + } +Aktionen | +
|---|---|---|---|---|---|
| @app.UserId | +@app.PdfFileName | +@(app.SubmittedOn?.ToShortDateString() ?? app.CreatedOn.ToShortDateString()) | ++ @app.Status + @if(app.IsReported) { Gemeldet } + | + @if (_filterStatus == "Reported") + { +@app.ReportReason | + } ++ + | +
Prüfe Premium-Zugang...
+ } + else if (_applications.Count == 0) + { +
+ Datei: @app.PdfFileName
+ Status: @app.Status
+ Datum: @(app.ApprovedOn?.ToShortDateString() ?? app.CreatedOn.ToShortDateString())
+
Bitte laden Sie Ihren Ingenieur-Antrag als PDF-Datei hoch.
+ +Status: @_existingApp.Status
+Datei: @_existingApp.PdfFileName
+Datum: @_existingApp.CreatedOn.ToShortDateString()
+ + @if (_existingApp.Status == "Rejected") + { +Loading...
-} -else -{ -@Localizer["Message.DisplayNone"]
- } -} +