From 569bb15e6fc068b29edcd17dd78d1a2a3b826f05 Mon Sep 17 00:00:00 2001 From: James King Date: Fri, 20 May 2022 11:24:29 +0100 Subject: [PATCH] Updated markup on organisation search results view --- .../SearchForOrganisationResults.cshtml | 172 +++++++++--------- 1 file changed, 87 insertions(+), 85 deletions(-) diff --git a/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml b/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml index 985f1423c4..39b29f8f36 100644 --- a/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml +++ b/src/SFA.DAS.EmployerAccounts.Web/Views/SearchOrganisation/SearchForOrganisationResults.cshtml @@ -18,85 +18,83 @@

@ViewBag.Title

-
- -
- -

Filter results

-
-
-
- -

- Filter by Organisation type -

-
-
-
- - -
-
- - -
-
- - -
-
- - +
+
+

Filter results

+
+
+
+ +

+ Filter by Organisation type +

+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
-
-
-
-
@if (Model.Data.Results.Data != null) { -
    - +

    @(Model.Data?.Results.TotalResults ?? 0) results found

    +
    +
    +
      @foreach (var organisation in Model.Data.Results.Data) { if (!organisation.AddedToAccount) { -
    1. +
    2. @@ -104,27 +102,29 @@ - +

      + +

      -
      -
      Address
      -
      @(string.IsNullOrEmpty(organisation.Address) ? "No address supplied" : organisation.Address)
      -
      Type
      -
      @organisation.Type.GetDescription()
      +
      +
      Address
      +
      @(string.IsNullOrEmpty(organisation.Address) ? "No address supplied" : organisation.Address)
      +
      Type
      +
      @organisation.Type.GetDescription()
    3. } else { -
    4. -

      @organisation.Name

      -
      -
      Address
      -
      @(string.IsNullOrEmpty(organisation.Address) ? "No address supplied" : organisation.Address)
      -
      Type
      -
      @organisation.Type.GetDescription()
      +
    5. +

      @organisation.Name

      +
      +
      Address
      +
      @(string.IsNullOrEmpty(organisation.Address) ? "No address supplied" : organisation.Address)
      +
      Type
      +
      @organisation.Type.GetDescription()
      -

      +

      Already added - view my organisations

    6. @@ -132,40 +132,42 @@ } @if (Model.Data.Results.PageNumber == Model.Data.Results.TotalPages || Model.Data.Results.TotalPages == 0) { -
    7. - Can't find your organisation?
      Check the spelling and search again. +
    8. +

      Can't find your organisation?

      +

      Check the spelling and search again.

    9. } - -
+ +
} else { -
    -
  • - No results found.
    - Can't find your organisation?
    Check the spelling and search again. -
  • -
+

No results found.

+

Can't find your organisation?

+

Check the spelling and search again.

} + +
-