mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
put lock message in warning block
This commit is contained in:
parent
7ca81137d7
commit
1df63cc102
1 changed files with 8 additions and 7 deletions
|
@ -50,14 +50,15 @@ h1 = @topic.title
|
|||
= pagination
|
||||
|
||||
= if @topic.locked_at do
|
||||
h4 This topic has been locked to new posts from non-moderators.
|
||||
p
|
||||
' Locked
|
||||
=> pretty_time(@topic.locked_at)
|
||||
.block.block--fixed.block--warning
|
||||
h4 This topic has been locked to new posts from non-moderators.
|
||||
p
|
||||
' Locked
|
||||
=> pretty_time(@topic.locked_at)
|
||||
|
||||
p
|
||||
' Lock reason:
|
||||
em = @topic.lock_reason
|
||||
p
|
||||
' Lock reason:
|
||||
em = @topic.lock_reason
|
||||
|
||||
/ Post form
|
||||
= cond do
|
||||
|
|
Loading…
Reference in a new issue