forked from indymedia/epicyon
Remove link
parent
c18dd9fb2b
commit
c6a0333b3d
|
@ -280,7 +280,7 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str,
|
||||||
"""The header of the profile screen, containing background
|
"""The header of the profile screen, containing background
|
||||||
image and avatar
|
image and avatar
|
||||||
"""
|
"""
|
||||||
htmlStr = '<figure class="profileHeader">\n'
|
htmlStr = '\n<figure class="profileHeader">\n'
|
||||||
htmlStr += ' <a href="/users/' + \
|
htmlStr += ' <a href="/users/' + \
|
||||||
nickname + '/' + defaultTimeline + '" title="' + \
|
nickname + '/' + defaultTimeline + '" title="' + \
|
||||||
translate['Switch to timeline view'] + '">\n'
|
translate['Switch to timeline view'] + '">\n'
|
||||||
|
@ -359,8 +359,6 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
|
|
||||||
followApprovalsSection = ''
|
followApprovalsSection = ''
|
||||||
followApprovals = False
|
followApprovals = False
|
||||||
linkToTimelineStart = ''
|
|
||||||
linkToTimelineEnd = ''
|
|
||||||
editProfileStr = ''
|
editProfileStr = ''
|
||||||
logoutStr = ''
|
logoutStr = ''
|
||||||
actor = profileJson['id']
|
actor = profileJson['id']
|
||||||
|
@ -433,15 +431,6 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
'" alt="| ' + translate['Logout'] + \
|
'" alt="| ' + translate['Logout'] + \
|
||||||
'" class="timelineicon"/></a>\n'
|
'" class="timelineicon"/></a>\n'
|
||||||
|
|
||||||
linkToTimelineStart = \
|
|
||||||
'<a href="/users/' + nickname + '/' + defaultTimeline + \
|
|
||||||
'"><label class="transparent">' + \
|
|
||||||
translate['Switch to timeline view'] + '</label></a>'
|
|
||||||
linkToTimelineStart += \
|
|
||||||
'<a href="/users/' + nickname + '/' + defaultTimeline + \
|
|
||||||
'" title="' + translate['Switch to timeline view'] + \
|
|
||||||
'" alt="' + translate['Switch to timeline view'] + '">'
|
|
||||||
linkToTimelineEnd = '</a>'
|
|
||||||
# are there any follow requests?
|
# are there any follow requests?
|
||||||
followRequestsFilename = \
|
followRequestsFilename = \
|
||||||
baseDir + '/accounts/' + \
|
baseDir + '/accounts/' + \
|
||||||
|
@ -544,9 +533,7 @@ def htmlProfile(rssIconAtTop: bool,
|
||||||
profileDescriptionShort,
|
profileDescriptionShort,
|
||||||
loginButton, avatarUrl)
|
loginButton, avatarUrl)
|
||||||
|
|
||||||
profileStr = \
|
profileStr = profileHeaderStr + donateSection
|
||||||
linkToTimelineStart + profileHeaderStr + \
|
|
||||||
linkToTimelineEnd + donateSection
|
|
||||||
if not isSystemAccount(nickname):
|
if not isSystemAccount(nickname):
|
||||||
profileStr += '<div class="container" id="buttonheader">\n'
|
profileStr += '<div class="container" id="buttonheader">\n'
|
||||||
profileStr += ' <center>'
|
profileStr += ' <center>'
|
||||||
|
|
Loading…
Reference in New Issue