diff options
| author | 2020-01-13 21:14:40 +0100 | |
|---|---|---|
| committer | 2020-01-13 21:14:40 +0100 | |
| commit | e35529d1c0215ac8d7148c66a786ab8780e1f2e9 (patch) | |
| tree | 968067e10c1e6255a3ae9672aaf818297f2f5a7a /pydis_site/templates | |
| parent | Adding iframe attributes to attribute whitelist (diff) | |
| parent | Update migration dependency to the latest merged (diff) | |
Merge pull request #303 from python-discord/bot#549-show-attachments-staff
Show attachments in staff log
Diffstat (limited to 'pydis_site/templates')
| -rw-r--r-- | pydis_site/templates/staff/logs.html | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/pydis_site/templates/staff/logs.html b/pydis_site/templates/staff/logs.html index 9c8ed7d3..a0bfa2a7 100644 --- a/pydis_site/templates/staff/logs.html +++ b/pydis_site/templates/staff/logs.html @@ -24,6 +24,11 @@              <div class="discord-message-content">                  {{ message.content|linebreaks }}              </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">                      <div class="discord-embed-color" style="background-color: {% if embed.color %}{{ embed.color | hex_colour }}{% else %}#cacbce{% endif %}"></div>  |