From 79ffe5809d32bf3bd447aeb8b8b3062f9f1c7e4d Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 27 Oct 2022 11:54:43 +0100 Subject: [PATCH] feat: add correct no housing providers text --- .../organisation_relationships/housing_providers.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/organisation_relationships/housing_providers.html.erb b/app/views/organisation_relationships/housing_providers.html.erb index 6ac62ea7e..c52207029 100644 --- a/app/views/organisation_relationships/housing_providers.html.erb +++ b/app/views/organisation_relationships/housing_providers.html.erb @@ -24,9 +24,15 @@ end %> <% end %>

This organisation can submit logs for its housing providers.

+ <% if @total_count == 0 %> +

This organisation does not currently have any housing providers.

+ <% end %> <% else %> <%= render partial: "organisations/headings", locals: { main: "Your housing providers", sub: current_user.organisation.name } %>

Your organisation can submit logs for its housing providers.

+ <% if @total_count == 0 %> +

You do not currently have any housing providers.

+ <% end %> <% end %>