% @page_title = "Notifications" %>
<% @hide_footer_frames = true %>
<% content_for :header do %>
<%= render "filters/menu" %>
<% end %>
<% if @unread.any? %>
New for you
<%= button_to "Mark all as read", bulk_reading_path, class: "btn txt-small", form: { data: { turbo: false } }, data: { action: "badge#clear" } %>
<% else %>
Nothing new for you.
<% end %>
<%= render partial: "notifications/notification", collection: @unread, cached: true %>
Previously seen
<%= render partial: "notifications/notification", collection: @page.records, cached: true %>
<%= notifications_next_page_link(@page) if @page.records.any? %>