Include link to actor on moderation item

main
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 # details of this post
title = item[0] title = item[0]
url = item[1] url = item[1]
# nick = item[2] nick = item[2]
# status = item[3] # status = item[3]
postFilename = item[4].replace('/', '#') postFilename = item[4].replace('/', '#')
# create the html for this post # create the html for this post
resultStr += '<div class="container">' resultStr += '<div class="container">'
resultStr += \ resultStr += \
'<a href="/users/' + url + '">' '<a href="/users/' + nick + '">'
resultStr += \
'<span class="followRequestHandle">' + \
nick + '</span></a>: '
resultStr += \
'<a href="' + url + '">'
resultStr += \ resultStr += \
'<span class="followRequestHandle">' + \ '<span class="followRequestHandle">' + \
title + '</span></a>' title + '</span></a>'