From 4b1aa6c52666f0aece9ea5f092c4d883da682915 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 27 Oct 2022 11:10:03 +0100 Subject: [PATCH] feat: add correct no housing providers text --- .../housing_providers.html.erb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/app/views/organisation_relationships/housing_providers.html.erb b/app/views/organisation_relationships/housing_providers.html.erb index 85281bde8..6ac62ea7e 100644 --- a/app/views/organisation_relationships/housing_providers.html.erb +++ b/app/views/organisation_relationships/housing_providers.html.erb @@ -23,19 +23,10 @@ notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of your housing providers") end %> <% end %> - <% if @total_count == 0 %> -

This organisation does not currently have any housing providers.

- <% else %> -

This organisation can submit logs for its housing providers.

- <% end %> - +

This organisation can submit logs for its housing providers.

<% else %> <%= render partial: "organisations/headings", locals: { main: "Your housing providers", sub: current_user.organisation.name } %> - <% if @total_count == 0 %> -

Your organisation does not currently have any housing providers.

- <% else %> -

Your organisation can submit logs for its housing providers.

- <% end %> +

Your organisation can submit logs for its housing providers.

<% end %>