aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/staff/logs.html
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2020-09-18 03:33:35 +1000
committerGravatar scragly <[email protected]>2020-09-18 03:33:35 +1000
commit357b20145b2784d9334b941fc25bcb8ce7b64c11 (patch)
treeccd446b4841ad69ae22fdc91f4c246823e0f811e /pydis_site/templates/staff/logs.html
parentAdd new test for deleted message context log_url. (diff)
parentMerge pull request #390 from python-discord/allow_blank_or_null_for_nominatio... (diff)
Merge branch 'master' into admin-api-pages-improvements
# Conflicts: # pydis_site/apps/api/admin.py
Diffstat (limited to 'pydis_site/templates/staff/logs.html')
-rw-r--r--pydis_site/templates/staff/logs.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/pydis_site/templates/staff/logs.html b/pydis_site/templates/staff/logs.html
index 9c8ed7d3..8c92836a 100644
--- a/pydis_site/templates/staff/logs.html
+++ b/pydis_site/templates/staff/logs.html
@@ -19,10 +19,15 @@
<div class="discord-message-header">
<span class="discord-username"
style="color: {{ message.author.top_role.colour | hex_colour }}">{{ message.author }}</span><span
- class="discord-message-metadata">{{ message.timestamp }} | User ID: {{ message.author.id }}</span>
+ class="discord-message-metadata has-text-grey">{{ message.timestamp }} | User ID: {{ message.author.id }}</span>
</div>
<div class="discord-message-content">
- {{ message.content|linebreaks }}
+ {{ message.content | escape | visible_newlines | safe }}
+ </div>
+ <div class="discord-message-attachments">
+ {% for attachment in message.attachments %}
+ <img alt="Attachment" class="discord-attachment" src="{{ attachment }}">
+ {% endfor %}
</div>
{% for embed in message.embeds %}
<div class="discord-embed is-size-7">