put lock message in warning block

This commit is contained in:
byte[] 2019-12-10 22:29:27 -05:00
parent 7ca81137d7
commit 1df63cc102

View file

@ -50,14 +50,15 @@ h1 = @topic.title
= pagination = pagination
= if @topic.locked_at do = if @topic.locked_at do
h4 This topic has been locked to new posts from non-moderators. .block.block--fixed.block--warning
p h4 This topic has been locked to new posts from non-moderators.
' Locked p
=> pretty_time(@topic.locked_at) ' Locked
=> pretty_time(@topic.locked_at)
p p
' Lock reason: ' Lock reason:
em = @topic.lock_reason em = @topic.lock_reason
/ Post form / Post form
= cond do = cond do