Browse Source

feat: add correct no housing providers text

pull/954/head
natdeanlewissoftwire 3 years ago
parent
commit
79ffe5809d
  1. 6
      app/views/organisation_relationships/housing_providers.html.erb

6
app/views/organisation_relationships/housing_providers.html.erb

@ -24,9 +24,15 @@
end %> end %>
<% end %> <% end %>
<p class="govuk-body">This organisation can submit logs for its housing providers.</p> <p class="govuk-body">This organisation can submit logs for its housing providers.</p>
<% if @total_count == 0 %>
<p class="govuk-body">This organisation does not currently have any housing providers.</p>
<% end %>
<% else %> <% else %>
<%= render partial: "organisations/headings", locals: { main: "Your housing providers", sub: current_user.organisation.name } %> <%= render partial: "organisations/headings", locals: { main: "Your housing providers", sub: current_user.organisation.name } %>
<p class="govuk-body">Your organisation can submit logs for its housing providers.</p> <p class="govuk-body">Your organisation can submit logs for its housing providers.</p>
<% if @total_count == 0 %>
<p class="govuk-body">You do not currently have any housing providers.</p>
<% end %>
<% end %> <% end %>

Loading…
Cancel
Save