|
|
|
|
@ -1,11 +1,20 @@
|
|
|
|
|
<% item_label = format_label(@pagy.count, "logs") %> |
|
|
|
|
<% title = format_title(@searched, "Logs", current_user, item_label, @pagy.count, nil) %> |
|
|
|
|
<% title = "Update logs"%> |
|
|
|
|
|
|
|
|
|
<% content_for :title, title %> |
|
|
|
|
|
|
|
|
|
<%= render partial: "organisations/headings", locals: { main: "You need to update #{@total_count} logs", sub: "" } %> |
|
|
|
|
<% if @total_count < 1 %> |
|
|
|
|
<%= render partial: "organisations/headings", locals: { main: "There are no more logs that need updating", sub: "" } %> |
|
|
|
|
<p class="govuk-body"> |
|
|
|
|
You’ve completed all the logs that were affected by scheme changes. |
|
|
|
|
</p> |
|
|
|
|
<div> |
|
|
|
|
<%= govuk_button_link_to "Back to all logs", lettings_logs_path %> |
|
|
|
|
</div> |
|
|
|
|
<% else %> |
|
|
|
|
<%= render partial: "organisations/headings", locals: { main: "You need to update #{@total_count} logs", sub: "" } %> |
|
|
|
|
|
|
|
|
|
<%= govuk_table do |table| %> |
|
|
|
|
<%= govuk_table do |table| %> |
|
|
|
|
<% table.head do |head| %> |
|
|
|
|
<% head.row do |row| %> |
|
|
|
|
<% row.cell(header: true, text: "Log ID") %> |
|
|
|
|
@ -31,6 +40,7 @@
|
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "logs" } %> |
|
|
|
|
|