From c6d004861f0673ae5b13d65a808d14d652b3b6af Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 25 May 2022 14:33:59 +0100 Subject: [PATCH] Attachments tab index --- webapp_utils.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/webapp_utils.py b/webapp_utils.py index af8517610..08ecb0365 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -1165,7 +1165,7 @@ def get_post_attachments_as_html(post_json_object: {}, box_name: str, gallery_str += ' \n' gallery_str += '\n' - attachment_str += '' + attachment_str += '' attachment_str += \ '\n' if not is_muted: - gallery_str += ' \n' + gallery_str += \ + ' \n' gallery_str += \ '
\n' + \ @@ -1204,7 +1206,7 @@ def get_post_attachments_as_html(post_json_object: {}, box_name: str, if image_description and not is_muted: gallery_str += \ '
' + \ image_description + '
\n' else: @@ -1248,7 +1250,9 @@ def get_post_attachments_as_html(post_json_object: {}, box_name: str, if box_name == 'tlmedia': gallery_str += '