Browse Source

lint

pull/642/head
JG 3 years ago
parent
commit
16421b654a
  1. 2
      app/views/organisations/show.html.erb
  2. 2
      app/views/organisations/users.html.erb

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

@ -1,4 +1,4 @@
<% title = current_user.support? ? "#{@organisation.name} (Organisation details)" : "Organisation details" %> <% title = current_user.support? ? "#{@organisation.name} (Organisation details)" : "Organisation details" %>
<% content_for :title, title %> <% content_for :title, title %>
<h1 class="govuk-heading-l"> <h1 class="govuk-heading-l">

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

@ -2,7 +2,7 @@
<% if @searched.present? %> <% if @searched.present? %>
<% title = "#{@organisation.name} (#{@pagy.count} #{item_label} matching ‘#{@searched}’" %> <% title = "#{@organisation.name} (#{@pagy.count} #{item_label} matching ‘#{@searched}’" %>
<% else %> <% else %>
<% title = "#{@organisation.name} (Users)" %> <% title = "#{@organisation.name} (Users)" %>
<% end %> <% end %>
<% content_for :title, title %> <% content_for :title, title %>

Loading…
Cancel
Save