From 9432128540cbcec15673f4e2cff9afae45294a79 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 24 Aug 2019 00:03:26 +0200 Subject: [PATCH] Add support for audio attachment --- templates/utils.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/utils.html b/templates/utils.html index 5cc293d..dddc42c 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -185,6 +185,8 @@ {% elif (a.mediaType and a.mediaType.startswith("video/")) %}
  • + {% elif (a.mediaType and a.mediaType.startswith("audio/")) %} +
  • {% else %}
  • {% if a.filename %}{{ a.filename }}{% else %}{{ a.url }}{% endif %}
  • {% endif %} @@ -320,7 +322,8 @@ -{% endif %} +{% endif %} {% endif %}