From 1df63cc10294a66c9f427cfc28afc1fd46c37efe Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Tue, 10 Dec 2019 22:29:27 -0500 Subject: [PATCH] put lock message in warning block --- lib/philomena_web/templates/topic/show.html.slime | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/philomena_web/templates/topic/show.html.slime b/lib/philomena_web/templates/topic/show.html.slime index 6eb7005d..7ad43354 100644 --- a/lib/philomena_web/templates/topic/show.html.slime +++ b/lib/philomena_web/templates/topic/show.html.slime @@ -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