From 07b723103180a5b36086ddd49ab66316f9012124 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Sep 2020 21:57:07 +0100 Subject: [PATCH] Indentation --- webinterface.py | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/webinterface.py b/webinterface.py index a0551bc3..83bb313a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -4544,7 +4544,7 @@ def individualPostAsHtml(allowDownloads: bool, attributedTo = postJsonObject['object']['attributedTo'] if attributedTo.startswith(postActor): titleStr += \ - ' ' + translate['announces'] + \
                         ' \n' + \ + ' ' + \ announceDisplayName + '\n' # show avatar of person replied to @@ -4635,7 +4636,8 @@ def individualPostAsHtml(allowDownloads: bool, '" alt="' + translate['announces'] + \ '" src="/' + iconsDir + \ '/repeat_inactive.png" ' + \ - 'class="announceOrReply"/> \n' + \ + ' @' + \ announceNickname + '@' + \ announceDomain + '\n' @@ -4645,7 +4647,8 @@ def individualPostAsHtml(allowDownloads: bool, translate['announces'] + '" alt="' + \ translate['announces'] + '" src="/' + iconsDir + \ '/repeat_inactive.png" ' + \ - 'class="announceOrReply"/> \n' + \ + ' @unattributed\n' else: @@ -4654,7 +4657,8 @@ def individualPostAsHtml(allowDownloads: bool, '" alt="' + translate['announces'] + \ '" src="/' + iconsDir + \ '/repeat_inactive.png" ' + \ - 'class="announceOrReply"/> \n' + \ + ' @unattributed\n' else: if postJsonObject['object'].get('inReplyTo'): @@ -4717,7 +4721,8 @@ def individualPostAsHtml(allowDownloads: bool, translate['replying to'] + \ '" src="/' + \ iconsDir + '/reply.png" ' + \ - 'class="announceOrReply"/> ' + \ + 'class="announceOrReply"/>\n' + \ + ' ' + \ '' + replyDisplayName + '\n' @@ -4774,8 +4779,8 @@ def individualPostAsHtml(allowDownloads: bool, translate['replying to'] + \ '" src="/' + \ iconsDir + '/reply.png" ' + \ - 'class="announceOrReply"/> ' + \ - '\n' + \ + ' @' + \ replyNickname + '@' + \ replyDomain + '\n' @@ -4787,8 +4792,8 @@ def individualPostAsHtml(allowDownloads: bool, translate['replying to'] + \ '" src="/' + \ iconsDir + \ - '/reply.png" class="announceOrReply"/> ' + \ - '\n' + \ + ' @unknown\n' else: @@ -4806,7 +4811,8 @@ def individualPostAsHtml(allowDownloads: bool, '" alt="' + translate['replying to'] + \ '" src="/' + \ iconsDir + '/reply.png" ' + \ - 'class="announceOrReply"/> \n' + \ + ' ' + postDomain + '\n'