From c1b92967c6de60a51186cfaf9b88ded06da46434 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Fri, 6 Dec 2019 18:25:42 -0500 Subject: [PATCH] don't render the 200k message when it's not 200k --- lib/philomena_web/templates/topic/show.html.slime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/topic/show.html.slime b/lib/philomena_web/templates/topic/show.html.slime index ceead9ea..48fc274e 100644 --- a/lib/philomena_web/templates/topic/show.html.slime +++ b/lib/philomena_web/templates/topic/show.html.slime @@ -54,7 +54,7 @@ h1 = @topic.title - @topic.post_count < 200_000 and can?(@conn, :create_post, @topic) -> = render PhilomenaWeb.Topic.PostView, "_form.html", conn: @conn, forum: @forum, topic: @topic, changeset: @changeset - - @topic.post_count < 200_000 -> + - @topic.post_count >= 200_000 -> h3 Okay, we're impressed p You're looking at a thread with over 200,000 posts in it! p For various reasons, we'd like to ask you to start a new topic.