From 9ca3583530887e5fe4cff3bea72a14df97fcb164 Mon Sep 17 00:00:00 2001 From: drusepth Date: Sun, 20 Mar 2022 23:26:24 -0700 Subject: [PATCH] make unread notifications less obnoxious --- app/views/layouts/tailwind/navbar/_logged_in.html.erb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/tailwind/navbar/_logged_in.html.erb b/app/views/layouts/tailwind/navbar/_logged_in.html.erb index 4ba2a2a6..9e75688e 100644 --- a/app/views/layouts/tailwind/navbar/_logged_in.html.erb +++ b/app/views/layouts/tailwind/navbar/_logged_in.html.erb @@ -18,19 +18,18 @@
-
- <% @user_notifications.limit(8).each do |notification| %> + <% @user_notifications.each do |notification| %> <%= link_to main_app.notification_path(notification), class: 'flex items-center px-4 py-3 border-b hover:bg-gray-100 -mx-2' do %> <%= notification.icon %> -
+
<%= notification.message_html.html_safe %>