Include link to actor on moderation item

merge-requests/8/head
Bob Mottram 2020-10-06 17:28:09 +01:00
parent 506ea825d2
commit 2f24022b0d
1 changed files with 9 additions and 2 deletions

View File

@ -1299,14 +1299,21 @@ def htmlNewswireModeration(baseDir: str, path: str, translate: {}) -> str:
# details of this post
title = item[0]
url = item[1]
# nick = item[2]
nick = item[2]
# status = item[3]
postFilename = item[4].replace('/', '#')
# create the html for this post
resultStr += '<div class="container">'
resultStr += \
'<a href="/users/' + url + '">'
'<a href="/users/' + nick + '">'
resultStr += \
'<span class="followRequestHandle">' + \
nick + '</span></a>: '
resultStr += \
'<a href="' + url + '">'
resultStr += \
'<span class="followRequestHandle">' + \
title + '</span></a>'