show previous context in reversed order in edit post view

This commit is contained in:
Lera Elvoé 2025-05-28 04:15:34 +03:00
parent 1a96612544
commit 1e5e2a2c27
Signed by: yagich
SSH Key Fingerprint: SHA256:6xjGb6uA7lAVcULa7byPEN//rQ0wPoG+UzYVMfZnbvc

View File

@ -1,4 +1,5 @@
<% for _, post in ipairs(prev_context) do %>
<% for i = #prev_context, 1, -1 do %>
<% local post = prev_context[i] %>
<% render("views.threads.post", {post = post, edit = false, is_latest = false, no_reply = true}) %>
<% end %>
<span class="context-explain">