merge-requests/8/head
Bob Mottram 2020-12-20 12:38:47 +00:00
parent 178d869877
commit 13ad1e57fb
1 changed files with 4 additions and 6 deletions

View File

@ -199,14 +199,12 @@ def htmlModerationInfo(cssCache: {}, translate: {},
infoForm += '<img loading="lazy" style="width:90%" '
infoForm += 'src="' + avatarUrl + '" />'
infoForm += '<br><center>'
modAccount = isModerator(baseDir, acctNickname)
if modAccount:
infoForm += '<b><u>'
if isModerator(baseDir, acctNickname)
infoForm += '<b><u>' + acctNickname + '</u></b>'
else:
infoForm += acctNickname
if isEditor(baseDir, acctNickname):
infoForm += ''
if modAccount:
infoForm += '</u></b>'
infoForm += '</center></a>\n</td>\n'
col += 1
if col == cols: