]> git.openstreetmap.org Git - rails.git/blob - app/views/notifications/_page.html.erb
Merge remote-tracking branch 'upstream/pull/7283'
[rails.git] / app / views / notifications / _page.html.erb
1 <%# locals: (notifications:, params:) %>
2
3 <turbo-frame id="pagination" target="_top" data-turbo="false">
4   <% notifications.items.each do |notification| %>
5     <%= render(
6           partial_path_for_notification(notification),
7           :notification => notification,
8           :record => notification.record
9         ) %>
10     <hr>
11   <% end %>
12
13   <%= render "pagination", :paginator => notifications, :params => params %>
14 </turbo-frame>