Anchor to comments from Activity
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<% bubble = event.summary.bubble %>
|
||||
<% link = event.action == "commented" ? bucket_bubble_path(bubble.bucket, bubble, anchor: dom_id(event.comment)) : bucket_bubble_path(bubble.bucket, bubble) %>
|
||||
|
||||
<%= link_to bucket_bubble_path(bubble.bucket, bubble),
|
||||
<%= link_to link,
|
||||
class: "event panel shadow center center-block flex-inline align-start justify-start gap position-relative",
|
||||
style: "--bubble-color: #{ bubble.color }; #{ bubble_rotation(bubble) }",
|
||||
data: { controller: "animation",
|
||||
|
||||
Reference in New Issue
Block a user