- <%= strip_tags(notification.event.comment.body_html).truncate(200) %>
+
+ <% if notification.event.action == "commented" %>
+ <%= "#{ strip_tags(notification.event.comment.body_html).blank? ? "#{ notification.event.creator.name } replied" : "#{ notification.event.creator.name }:" } #{ strip_tags(notification.event.comment.body_html).truncate(200) }" %>
+ <% else %>
+ <%= notification_body(notification) %>
+ <% end %>
- <% end %>
-
<%= notification_body(notification) %> · <%= notification.bubble.bucket.name %> · <%= local_datetime_tag(notification.created_at, style: :ago) %>
+
<%= notification.bubble.bucket.name %> · <%= local_datetime_tag(notification.created_at, style: :ago) %>