Alt text for delete button on post

main
Bob Mottram 2019-11-27 10:42:01 +00:00
parent 098e3799a8
commit 1506d1f519
1 changed files with 1 additions and 1 deletions

View File

@ -2346,7 +2346,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
postJsonObject['object']['id'].startswith(postActor)): postJsonObject['object']['id'].startswith(postActor)):
if '/users/'+nickname+'/' in postJsonObject['object']['id']: if '/users/'+nickname+'/' in postJsonObject['object']['id']:
deleteStr='<a href="/users/'+nickname+'?delete='+postJsonObject['object']['id']+pageNumberParam+'" title="'+translate['Delete this post']+'">' deleteStr='<a href="/users/'+nickname+'?delete='+postJsonObject['object']['id']+pageNumberParam+'" title="'+translate['Delete this post']+'">'
deleteStr+='<img loading="lazy" src="/'+iconsDir+'/delete.png"/></a>' deleteStr+='<img loading="lazy" alt="'+translate['Delete this post']+'" title="'+translate['Delete this post']+'" src="/'+iconsDir+'/delete.png"/></a>'
# change the background color for DMs in inbox timeline # change the background color for DMs in inbox timeline
if showDMicon: if showDMicon: