mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
don't render the 200k message when it's not 200k
This commit is contained in:
parent
b89e9c464f
commit
c1b92967c6
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ h1 = @topic.title
|
||||||
- @topic.post_count < 200_000 and can?(@conn, :create_post, @topic) ->
|
- @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
|
= 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
|
h3 Okay, we're impressed
|
||||||
p You're looking at a thread with over 200,000 posts in it!
|
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.
|
p For various reasons, we'd like to ask you to start a new topic.
|
||||||
|
|
Loading…
Reference in a new issue