View button on shared item to get to the profile

merge-requests/22/merge
Bob Mottram 2021-08-07 13:19:10 +01:00
parent 28bac56561
commit 680adeb228
1 changed files with 5 additions and 1 deletions

View File

@ -895,10 +895,14 @@ def htmlIndividualShare(domain: str, shareId: str,
if showContact:
contactActor = item['actor']
profileStr += \
'<p><a href="' + actor + \
'<p>' + \
'<a href="' + actor + \
'?replydm=sharedesc:' + sharedesc + \
'?mention=' + contactActor + '"><button class="button">' + \
translate['Contact'] + '</button></a>\n'
profileStr += \
'<a href="' + contactActor + '"><button class="button">' + \
translate['View'] + '</button></a>\n'
if removeButton and domain in shareId:
profileStr += \
' <a href="' + actor + '?rmshare=' + shareId + \