Browse Source

Open links in new tab (#2722)

pull/2694/head^2
kosiakkatrina 3 months ago committed by GitHub
parent
commit
3804a64b2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      app/views/organisations/duplicate_schemes.html.erb

10
app/views/organisations/duplicate_schemes.html.erb

@ -56,6 +56,8 @@
</ul>
<% end %>
<p class="govuk-body">The links below open in a new tab.</p>
<%= govuk_table do |table| %>
<%= table.with_head do |head| %>
<% head.with_row do |row| %>
@ -69,7 +71,7 @@
<ol class="govuk-list govuk-list--number">
<% duplicate_set.each do |scheme| %>
<li>
<%= govuk_link_to scheme.service_name, scheme %>
<%= govuk_link_to scheme.service_name, scheme, target: "#" %>
</li>
<% end %>
</ol>
@ -93,6 +95,8 @@
</ul>
<% end %>
<p class="govuk-body">The links below open in a new tab.</p>
<%= govuk_table do |table| %>
<%= table.with_head do |head| %>
<% head.with_row do |row| %>
@ -107,13 +111,13 @@
<ol class="govuk-list govuk-list--number">
<% duplicate_set[:locations].each do |location| %>
<li>
<%= govuk_link_to location.name, scheme_location_path(location) %>
<%= govuk_link_to location.name, scheme_location_path(location), target: "#" %>
</li>
<% end %>
</ol>
<% end %>
<% row.with_cell do %>
<%= govuk_link_to duplicate_set[:scheme].service_name, duplicate_set[:scheme] %>
<%= govuk_link_to duplicate_set[:scheme].service_name, duplicate_set[:scheme], target: "#" %>
<% end %>
<% end %>
<% end %>

Loading…
Cancel
Save