Bookmark below button header

merge-requests/30/head
Bob Mottram 2021-02-05 17:55:49 +00:00
parent 3bfa33f1f9
commit 1e255fcd1e
1 changed files with 11 additions and 6 deletions

View File

@ -714,13 +714,13 @@ def htmlProfile(rssIconAtTop: bool,
navLinks = {
translate['Switch to timeline view']: userPathStr + '/' + deft,
translate['Edit']: userPathStr + '/editprofile',
translate['Following']: userPathStr + '/following#buttonheader',
translate['Followers']: userPathStr + '/followers#buttonheader',
translate['Roles']: userPathStr + '/roles#buttonheader',
translate['Skills']: userPathStr + '/skills#buttonheader',
translate['Shares']: userPathStr + '/shares#buttonheader',
translate['Following']: userPathStr + '/following#timeline',
translate['Followers']: userPathStr + '/followers#timeline',
translate['Roles']: userPathStr + '/roles#timeline',
translate['Skills']: userPathStr + '/skills#timeline',
translate['Shares']: userPathStr + '/shares#timeline',
translate['Logout']: '/logout'
}
}
profileStr = htmlKeyboardNavigation(navLinks)
profileStr += profileHeaderStr + donateSection
@ -755,6 +755,9 @@ def htmlProfile(rssIconAtTop: bool,
profileStr += ' </center>'
profileStr += '</div>'
# start of #timeline
profileStr += '<div id="timeline">\n'
profileStr += followApprovalsSection
cssFilename = baseDir + '/epicyon-profile.css'
@ -809,6 +812,8 @@ def htmlProfile(rssIconAtTop: bool,
_htmlProfileShares(actor, translate,
nickname, domainFull,
extraJson) + licenseStr
# end of #timeline
profileStr += '</div>'
instanceTitle = \
getConfigParam(baseDir, 'instanceTitle')