diff sat_templates/templates/bulma/chat/message.html @ 371:a5a80d761e3e

bulma (call): update template to integrate call features: previously, call template was a minimum UI for testing implementation. This commit introduce a usable UI with search interface, mute and full screen button, animations, and other UI/UX improvments. rel 423
author Goffi <goffi@goffi.org>
date Wed, 09 Aug 2023 00:11:39 +0200
parents 095bd5b34080
children 941e4006ab6e
line wrap: on
line diff
--- a/sat_templates/templates/bulma/chat/message.html	Mon Jul 10 15:43:49 2023 +0200
+++ b/sat_templates/templates/bulma/chat/message.html	Wed Aug 09 00:11:39 2023 +0200
@@ -63,7 +63,7 @@
                             {{ icon('doc', cls='icon') }}
                         {%- endif %}
                         <figcaption class="has-text-centered is-size-7">
-                            <a href="{{attachment.sources[0].url}}" target="_blank" class="has-text-grey">{{attachment.name}}</a>
+                            <a href="{{attachment.sources[0].url if attachment.sources}}" target="_blank" class="has-text-grey">{{attachment.name}}</a>
                         </figcaption>
                     </figure>
                 {%- endfor %}