From 72709226c03c01048fb980f8822bb49afa1fe9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Sat, 31 May 2025 21:13:57 +0300 Subject: [PATCH] change reply button to quote and simplify quote markup; hashlink to edit box when editing --- views/threads/post.etlua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/threads/post.etlua b/views/threads/post.etlua index 1f39934..1888f9a 100644 --- a/views/threads/post.etlua +++ b/views/threads/post.etlua @@ -32,7 +32,7 @@ local show_edit = me.id == post.user_id and not me:is_guest() and (not ntob(thread.is_locked) or me:is_mod()) and not no_reply if show_edit then %> - ">Edit + ">Edit <% end %> <% local show_reply = true @@ -50,9 +50,9 @@ local quote_src_text = ("[url=%s]%s said:[/url]"):format( post_url, post.username ) - local reply_text = ("%s\n[quote]%s[/quote]\n---\n\n"):format(quote_src_text, post.original_markup) + local reply_text = ("%s\n[quote]%s[/quote]\n"):format(quote_src_text, post.original_markup) %> - + <% end %> <% local show_delete = (post.user_id == me.id and not ntob(thread.is_locked)) or me:is_mod()