Navigation markup

merge-requests/8/head
Bob Mottram 2020-12-27 20:33:56 +00:00
parent 69f80f2573
commit a2cca64b32
1 changed files with 3 additions and 1 deletions

View File

@ -1050,7 +1050,8 @@ def _getFooterWithIcons(showIcons: bool,
if not showIcons:
return None
footerStr = '\n <div class="' + containerClassIcons + '">\n'
footerStr = '\n <nav>\n'
footerStr += ' <div class="' + containerClassIcons + '">\n'
footerStr += replyStr + announceStr + likeStr + bookmarkStr
footerStr += deleteStr + muteStr + editStr
if not isNewsPost(postJsonObject):
@ -1061,6 +1062,7 @@ def _getFooterWithIcons(showIcons: bool,
publishedLink.replace('/news/', '/news/statuses/') + \
'" class="' + timeClass + '">' + publishedStr + '</a>\n'
footerStr += ' </div>\n'
footerStr += ' </nav>\n'
return footerStr