* Try disabling text-select (mobile long-tap) * Try to force button color on mobile safari * Try making notification decorator more helpful * More using notification decorator * Helper so I can see exceptions * As we toggle feature flag, temporary show 'heart' for unsupported reactions * Reaction on Comment is a 'reaction'-type notification * Temporarily add new emojis to i18n * Render full-color, unique SVGs for multiple_reactions * Restore card layout * Aggregate reaction icons also need unique SVGs * This seems unnecessary? * Multiple is -more-than-one- * Display *unique* reaction categories on /notifications * Comment notification no longer needs to re-render as reaction * Decorator needs to handle some data gaps * Fix NotificationHelper * Try a better name for this * Tests for the notification decorator * These partials wound up without an outer layer * Add a descriptive comment * index needs force_unique * Try multiple reactions external img (#19076) * Try external img SVGs * Unique SVG might not be necessary if this works * Can also remove this spec if successful * Restore flash icon behavior * Plus external img for #index as well
14 lines
617 B
Text
14 lines
617 B
Text
<% render_each_notification_or_error @notifications, error: "notifications/shared/error" do |notification| %>
|
|
<div
|
|
class="mb-2 spec-notification <%= "unseen" unless notification.read? %>"
|
|
data-notification-id="<%= notification.id %>">
|
|
<%= render notification, notification: notification %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<% if @notifications.any? %>
|
|
<% sub_path = params[:org_id].present? ? "#{params[:filter]}/#{params[:org_id]}" : params[:filter].to_s %>
|
|
<div
|
|
class="notifications-paginator"
|
|
data-pagination-path="/notifications/<%= sub_path %>?offset=<%= @notifications.last.id %>"></div>
|
|
<% end %>
|