Threaded comments (Reply UI)
This commit is contained in:
@ -15,9 +15,7 @@ component Thread(thread *arn.Thread, user *arn.User)
|
||||
|
||||
.buttons
|
||||
if !thread.Locked
|
||||
button.mountable.action(data-action="createPost", data-trigger="click", data-parent-type="Thread", data-parent-id=thread.ID)
|
||||
Icon("mail-reply")
|
||||
span Reply
|
||||
NewPostActions("Thread", thread.ID)
|
||||
|
||||
if user.Role == "admin" || user.Role == "editor"
|
||||
if thread.Locked
|
||||
|
Reference in New Issue
Block a user