forked from indymedia/epicyon
Change profile for news account
parent
18e9cd602c
commit
b987367bda
|
@ -3339,7 +3339,6 @@ def htmlProfile(defaultTimeline: str,
|
|||
donateSection += '</div>\n'
|
||||
|
||||
if not authorized:
|
||||
if not isSystemAccount(nickname):
|
||||
loginButton = \
|
||||
'<br><a href="/login"><button class="loginButton">' + \
|
||||
translate['Login'] + '</button></a>'
|
||||
|
@ -3426,6 +3425,9 @@ def htmlProfile(defaultTimeline: str,
|
|||
avatarDescription = avatarDescription.replace('</p>', '')
|
||||
profileHeaderStr = '<div class="hero-image">'
|
||||
profileHeaderStr += ' <div class="hero-text">'
|
||||
|
||||
# TODO maybe display an alternate system account banner
|
||||
if not isSystemAccount(nickname):
|
||||
profileHeaderStr += \
|
||||
' <img loading="lazy" src="' + profileJson['icon']['url'] + \
|
||||
'" title="' + avatarDescription + '" alt="' + \
|
||||
|
|
Loading…
Reference in New Issue