mirror of https://gitlab.com/bashrc2/epicyon
Remove shares and wanted items from profile screen
parent
d8823e2aab
commit
e919cd0387
|
@ -751,10 +751,6 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
htmlHideFromScreenReader('🤚') + ' ' + translate['Roles']
|
htmlHideFromScreenReader('🤚') + ' ' + translate['Roles']
|
||||||
menuSkills = \
|
menuSkills = \
|
||||||
htmlHideFromScreenReader('🛠') + ' ' + translate['Skills']
|
htmlHideFromScreenReader('🛠') + ' ' + translate['Skills']
|
||||||
menuShares = \
|
|
||||||
htmlHideFromScreenReader('🤝') + ' ' + translate['Shares']
|
|
||||||
menuWanted = \
|
|
||||||
htmlHideFromScreenReader('⛱') + ' ' + translate['Wanted']
|
|
||||||
menuLogout = \
|
menuLogout = \
|
||||||
htmlHideFromScreenReader('❎') + ' ' + translate['Logout']
|
htmlHideFromScreenReader('❎') + ' ' + translate['Logout']
|
||||||
navLinks = {
|
navLinks = {
|
||||||
|
@ -764,8 +760,6 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
menuFollowers: userPathStr + '/followers#timeline',
|
menuFollowers: userPathStr + '/followers#timeline',
|
||||||
menuRoles: userPathStr + '/roles#timeline',
|
menuRoles: userPathStr + '/roles#timeline',
|
||||||
menuSkills: userPathStr + '/skills#timeline',
|
menuSkills: userPathStr + '/skills#timeline',
|
||||||
menuShares: userPathStr + '/shares#timeline',
|
|
||||||
menuWanted: userPathStr + '/wanted#timeline',
|
|
||||||
menuLogout: '/logout'
|
menuLogout: '/logout'
|
||||||
}
|
}
|
||||||
navAccessKeys = {}
|
navAccessKeys = {}
|
||||||
|
@ -801,14 +795,14 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
' <a href="' + usersPath + '/skills#buttonheader">' + \
|
' <a href="' + usersPath + '/skills#buttonheader">' + \
|
||||||
'<button class="' + skillsButton + '"><span>' + \
|
'<button class="' + skillsButton + '"><span>' + \
|
||||||
translate['Skills'] + ' </span></button></a>'
|
translate['Skills'] + ' </span></button></a>'
|
||||||
profileStr += \
|
# profileStr += \
|
||||||
' <a href="' + usersPath + '/shares#buttonheader">' + \
|
# ' <a href="' + usersPath + '/shares#buttonheader">' + \
|
||||||
'<button class="' + sharesButton + '"><span>' + \
|
# '<button class="' + sharesButton + '"><span>' + \
|
||||||
translate['Shares'] + ' </span></button></a>'
|
# translate['Shares'] + ' </span></button></a>'
|
||||||
profileStr += \
|
# profileStr += \
|
||||||
' <a href="' + usersPath + '/wanted#buttonheader">' + \
|
# ' <a href="' + usersPath + '/wanted#buttonheader">' + \
|
||||||
'<button class="' + wantedButton + '"><span>' + \
|
# '<button class="' + wantedButton + '"><span>' + \
|
||||||
translate['Wanted'] + ' </span></button></a>'
|
# translate['Wanted'] + ' </span></button></a>'
|
||||||
profileStr += logoutStr + editProfileStr
|
profileStr += logoutStr + editProfileStr
|
||||||
profileStr += ' </center>'
|
profileStr += ' </center>'
|
||||||
profileStr += '</div>'
|
profileStr += '</div>'
|
||||||
|
|
Loading…
Reference in New Issue