aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-04-23 00:06:31 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-04-23 00:06:31 +0400
commit122bd7adcf289751ffd9320bf92a962823b720f2 (patch)
tree2eaccba54053672a3084c25086ef5fc2da3d68d5
parentMerge pull request #717 from python-discord/BIG-SOLIDUS-MAKETH (diff)
Invert Deleted Message Log Order
Inverts the order messages are displayed in on the logs page to match the order they would be displayed in on discord (and how they would be read) Signed-off-by: Hassan Abouelela <[email protected]>
-rw-r--r--pydis_site/templates/staff/logs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/templates/staff/logs.html b/pydis_site/templates/staff/logs.html
index 7bd6ba29..bccde9cb 100644
--- a/pydis_site/templates/staff/logs.html
+++ b/pydis_site/templates/staff/logs.html
@@ -14,7 +14,7 @@
<li>Date: {{ deletion_context.creation }}</li>
</ul>
<div class="is-divider has-small-margin"></div>
- {% for message in deletion_context.deletedmessage_set.all %}
+ {% for message in deletion_context.deletedmessage_set.all reversed %}
<div class="discord-message">
<div class="discord-message-header">
<span class="discord-username"