From f99a8014b4d070349dad6652fca62ae8b507ef06 Mon Sep 17 00:00:00 2001 From: Masterjun3 Date: Sat, 26 Aug 2023 21:09:06 +0200 Subject: [PATCH 1/4] improve select improver --- .../TagHelpers/SelectImproverTagHelper.cs | 38 +++++++++++-------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/TASVideos/TagHelpers/SelectImproverTagHelper.cs b/TASVideos/TagHelpers/SelectImproverTagHelper.cs index c13e26308..6d3b88fe7 100644 --- a/TASVideos/TagHelpers/SelectImproverTagHelper.cs +++ b/TASVideos/TagHelpers/SelectImproverTagHelper.cs @@ -14,18 +14,19 @@ public override void Process(TagHelperContext context, TagHelperOutput output)
No selection
- -
+ +
\ No newline at end of file From 19b775b621aadbaca659ba4663a74f6348f55e90 Mon Sep 17 00:00:00 2001 From: Masterjun3 Date: Sat, 26 Aug 2023 21:11:57 +0200 Subject: [PATCH 3/4] add select improver to submission page --- TASVideos/Pages/Submissions/Index.cshtml | 17 ++++++++++------- .../Models/SubmissionSearchRequest.cs | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/TASVideos/Pages/Submissions/Index.cshtml b/TASVideos/Pages/Submissions/Index.cshtml index 35995858d..d2ed817c8 100644 --- a/TASVideos/Pages/Submissions/Index.cshtml +++ b/TASVideos/Pages/Submissions/Index.cshtml @@ -25,19 +25,22 @@ @await Component.RenderWiki(SystemWiki.SubmissionHeader)
- - - + +
+ + + +
+
- - + - + - +
diff --git a/TASVideos/Pages/Submissions/Models/SubmissionSearchRequest.cs b/TASVideos/Pages/Submissions/Models/SubmissionSearchRequest.cs index 9af7a0b6b..1a61b5484 100644 --- a/TASVideos/Pages/Submissions/Models/SubmissionSearchRequest.cs +++ b/TASVideos/Pages/Submissions/Models/SubmissionSearchRequest.cs @@ -26,7 +26,7 @@ public SubmissionSearchRequest() public int? StartType { get; set; } - [Display(Name = "Status Filter")] + [Display(Name = "Statuses")] public IEnumerable StatusFilter { get; set; } = new List(); public static IEnumerable Default => new List From 5e7c412287a5a86b82550e837e7887001f956961 Mon Sep 17 00:00:00 2001 From: Masterjun3 Date: Sat, 26 Aug 2023 21:12:19 +0200 Subject: [PATCH 4/4] readd label for user role edit --- TASVideos/Pages/Users/Edit.cshtml | 1 + 1 file changed, 1 insertion(+) diff --git a/TASVideos/Pages/Users/Edit.cshtml b/TASVideos/Pages/Users/Edit.cshtml index c67ef7769..d23240dba 100644 --- a/TASVideos/Pages/Users/Edit.cshtml +++ b/TASVideos/Pages/Users/Edit.cshtml @@ -186,6 +186,7 @@
+