diff --git a/src/TeachingRecordSystem.SupportUi/Pages/SupportTasks/Completed.cshtml b/src/TeachingRecordSystem.SupportUi/Pages/SupportTasks/Completed.cshtml index bbd13c2296..5a0d901b5c 100644 --- a/src/TeachingRecordSystem.SupportUi/Pages/SupportTasks/Completed.cshtml +++ b/src/TeachingRecordSystem.SupportUi/Pages/SupportTasks/Completed.cshtml @@ -40,6 +40,12 @@
Task type @@ -51,6 +57,12 @@ Completed by @@ -66,8 +78,15 @@
- Apply filters + Clear all @@ -94,27 +113,47 @@ + link-template="@(direction => LinkGenerator.SupportTasks.Completed(Model.Search, Model.Type, Model.CompletedByUserId, CompletedTasksSortByOption.Subject, direction))" + use-htmx="true" + hx-select="main" + hx-target="main" + hx-push-url="true"> Task + link-template="@(direction => LinkGenerator.SupportTasks.Completed(Model.Search, Model.Type, Model.CompletedByUserId, CompletedTasksSortByOption.CompletedOn, direction))" + use-htmx="true" + hx-select="main" + hx-target="main" + hx-push-url="true"> Completed on + link-template="@(direction => LinkGenerator.SupportTasks.Completed(Model.Search, Model.Type, Model.CompletedByUserId, CompletedTasksSortByOption.TaskType, direction))" + use-htmx="true" + hx-select="main" + hx-target="main" + hx-push-url="true"> Type + link-template="@(direction => LinkGenerator.SupportTasks.Completed(Model.Search, Model.Type, Model.CompletedByUserId, CompletedTasksSortByOption.Outcome, direction))" + use-htmx="true" + hx-select="main" + hx-target="main" + hx-push-url="true"> Outcome + link-template="@(direction => LinkGenerator.SupportTasks.Completed(Model.Search, Model.Type, Model.CompletedByUserId, CompletedTasksSortByOption.CompletedBy, direction))" + use-htmx="true" + hx-select="main" + hx-target="main" + hx-push-url="true"> Completed by @@ -143,23 +182,23 @@ } -
- @if (Model.Results!.Count == 0) - { - No matching tasks found. - } - else - { - - Showing @Model.Results!.Count of @Model.TotalTaskCount matching tasks - sorted by @Model.OrderedByLabel (@Model.OrderDirectionLabel). - - } -
- -
- -
+
+ +@section ContainerEnd { +
+ @if (Model.Results!.Count == 0) + { + No matching tasks found. + } + else + { + + Showing @Model.Results!.Count of @Model.TotalTaskCount matching tasks + sorted by @Model.OrderedByLabel (@Model.OrderDirectionLabel). + + } +
+}