diff --git a/app/views/layouts/organisations.html.erb b/app/views/layouts/organisations.html.erb index c7c3ff2db..cb4d1c716 100644 --- a/app/views/layouts/organisations.html.erb +++ b/app/views/layouts/organisations.html.erb @@ -1,11 +1,9 @@ <% content_for :content do %>

- <% if current_user.support? %> - <%= @organisation.name %> - <%= content_for(:title) %> - <% else %> - Your organisation <%= content_for(:title) %> + <% if current_user.support? && request.path != "/organisations" %> + <%= @organisation.name %> <% end %> + <%= content_for(:title) %>

<% items = tab_items(current_user) %> diff --git a/app/views/organisations/show.html.erb b/app/views/organisations/show.html.erb index 0d726848d..f4760a7c9 100644 --- a/app/views/organisations/show.html.erb +++ b/app/views/organisations/show.html.erb @@ -1,4 +1,4 @@ -<% content_for :title, current_user.support? ? "Details" : "Your organisation (Details)" %> +<% content_for :title, current_user.support? ? "Details" : "Your organisation" %> <% content_for :tab_title do %> <%= "Details" %>