Browse Source

lint

pull/1776/head
Kat 3 years ago
parent
commit
460ce903cf
  1. 6
      app/views/logs/index.html.erb
  2. 6
      app/views/organisations/logs.html.erb

6
app/views/logs/index.html.erb

@ -9,9 +9,9 @@
) %> ) %>
<% if @duplicate_sets_count&.positive? %> <% if @duplicate_sets_count&.positive? %>
<%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", duplicate_logs_path)) do |banner| <%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", duplicate_logs_path)) do |banner| %>
banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count)) <% banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count)) %>
end %> <% end %>
<% end %> <% end %>
<% if current_page?(controller: 'lettings_logs', action: 'index') %> <% if current_page?(controller: 'lettings_logs', action: 'index') %>

6
app/views/organisations/logs.html.erb

@ -11,9 +11,9 @@
) %> ) %>
<% if @duplicate_sets_count&.positive? %> <% if @duplicate_sets_count&.positive? %>
<%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", organisation_duplicates_path(@organisation))) do |banner| <%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", organisation_duplicates_path(@organisation))) do |banner| %>
banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count)) <% banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count)) %>
end %> <% end %>
<% end %> <% end %>
<% if current_user.support? %> <% if current_user.support? %>

Loading…
Cancel
Save