]> git.openstreetmap.org Git - rails.git/blob - app/views/notifications/index.html.erb
Merge remote-tracking branch 'upstream/pull/7283'
[rails.git] / app / views / notifications / index.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".title" %></h1>
3   <p class="mb-0">
4     <%= t(
5           ".point_to_preferences_html",
6           :link => link_to(t(".link_text"), notification_preferences_path)
7         ) %>
8   </p>
9 <% end %>
10
11 <% if @notifications.items.empty? %>
12   <p><%= t(".no_notifications") %></p>
13 <% else %>
14   <%= render "page", :notifications => @notifications, :params => @params %>
15 <% end %>