diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index 9d3b9a259..5143ede77 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -4,6 +4,8 @@ module NotificationsHelper if notification.resource.is_a? Comment "RE: " + title + elsif notification_event_action(notification) == "assigned" + "Assigned to you: " + title else title end @@ -13,7 +15,6 @@ module NotificationsHelper name = notification.creator.name case notification_event_action(notification) - when "assigned" then "#{name} assigned to you" when "popped" then "Popped by by #{name}" when "published" then "Added by #{name}" else name diff --git a/app/views/notifications/_notification.html.erb b/app/views/notifications/_notification.html.erb index d309015b3..7271626e4 100644 --- a/app/views/notifications/_notification.html.erb +++ b/app/views/notifications/_notification.html.erb @@ -7,7 +7,7 @@
<%= notification_title(notification) %> -
<%= notification_body(notification) %> · <%= local_datetime_tag(notification.created_at, style: :ago) %>
+
<%= notification_body(notification) %> · <%= notification.bubble.bucket.name %> · <%= local_datetime_tag(notification.created_at, style: :ago) %>