Browse Source

Organisation Page Consistency (#616)

* Consistent Org pages

* Consistent page titles
pull/619/head
baarkerlounger 3 years ago committed by baarkerlounger
parent
commit
6e4f7e6408
  1. 5
      app/views/layouts/organisations.html.erb
  2. 2
      app/views/organisations/show.html.erb

5
app/views/layouts/organisations.html.erb

@ -1,6 +1,9 @@
<% content_for :content do %> <% content_for :content do %>
<h1 class="govuk-heading-l"> <h1 class="govuk-heading-l">
<%= organisation_header(request.path, current_user, @organisation) %> <% if current_user.support? && request.path != "/organisations" %>
<span class="govuk-caption-l"><%= @organisation.name %></span>
<% end %>
<%= content_for(:title) %>
</h1> </h1>
<% items = tab_items(current_user) %> <% items = tab_items(current_user) %>

2
app/views/organisations/show.html.erb

@ -1,4 +1,4 @@
<% content_for :title, "Your organisation (Details)" %> <% content_for :title, current_user.support? ? "Details" : "Your organisation" %>
<% content_for :tab_title do %> <% content_for :tab_title do %>
<%= "Details" %> <%= "Details" %>

Loading…
Cancel
Save