diff --git a/views/pages/thread.pug b/views/pages/thread.pug index d1261f71..c0b0fd70 100644 --- a/views/pages/thread.pug +++ b/views/pages/thread.pug @@ -53,7 +53,10 @@ block content for post in thread.replies - uids && post.userId && uids.add(post.userId) +post(post) - a.bottom-reply.no-decoration.post-button(href='#postform') [New Reply] + if thread.replyposts >= board.settings.replyLimit && !thread.cyclic && !modview + p.title.text-center ⊖ Thread has reached reply limit. + else + a.bottom-reply.no-decoration.post-button(href='#postform') [New Reply] hr(size=1) .wrapbar if modview