Files
fizzy/app/views/notifications/settings/show.html.erb
T
Jorge Manrubia 4527dcbeda Remove unnecessary filtering code
After removing collections from the filtering menu, there was quite a good cleanup here pending
2025-10-03 10:56:34 +02:00

21 lines
749 B
Plaintext

<% @page_title = "Notifications settings" %>
<% content_for :header do %>
<%= render "filters/menu" %>
<h1 class="header__title"><%= @page_title %></h1>
<% end %>
<section class="settings">
<div class="settings__panel settings__panel--users panel shadow center">
<h2 class="txt-medium txt-uppercase divider">Collections</h2>
<div class="settings__user-list flex flex-column gap-half">
<%= render partial: "notifications/settings/collection", collection: @collections, locals: { user: Current.user } %>
</div>
</div>
<div class="settings__panel panel shadow center">
<%= render "notifications/settings/push_notifications" %>
<%= render "notifications/settings/email", settings: @settings %>
</div>
</section>