Hide cancel button in the thread view
This commit is contained in:
@ -15,7 +15,7 @@ component Thread(thread *arn.Thread, user *arn.User)
|
||||
|
||||
.buttons
|
||||
if !thread.Locked
|
||||
NewPostActions("Thread", thread.ID)
|
||||
NewPostActions("Thread", thread.ID, false)
|
||||
|
||||
if user.Role == "admin" || user.Role == "editor"
|
||||
if thread.Locked
|
||||
|
Reference in New Issue
Block a user