Header titles

master
Bob Mottram 2019-07-31 10:05:37 +01:00
parent dffe45afda
commit b40c84656e
1 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \
if not authorized: if not authorized:
loginButton='<br><a href="/login"><button class="loginButton">Login</button></a>' loginButton='<br><a href="/login"><button class="loginButton">Login</button></a>'
else: else:
linkToTimelineStart='<a href="/users/'+nickname+'/inbox">' linkToTimelineStart='<a href="/users/'+nickname+'/inbox" title="Switch to timeline view" alt="Switch to timeline view">'
linkToTimelineEnd='</a>' linkToTimelineEnd='</a>'
# are there any follow requests? # are there any follow requests?
followRequestsFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/followrequests.txt' followRequestsFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/followrequests.txt'
@ -553,7 +553,7 @@ def htmlTimeline(session,baseDir: str,wfRequest: {},personCache: {}, \
tlStr=htmlHeader(profileStyle) tlStr=htmlHeader(profileStyle)
tlStr+= \ tlStr+= \
'<a href="/users/'+nickname+'">' \ '<a href="/users/'+nickname+'" title="Switch to profile view" alt="Switch to profile view">' \
'<div class="timeline-banner">' \ '<div class="timeline-banner">' \
'</div></a>' \ '</div></a>' \
'<div class="container">\n'+ \ '<div class="container">\n'+ \