diff --git a/img/icons/search.png b/img/icons/search.png new file mode 100644 index 00000000..532c3ea1 Binary files /dev/null and b/img/icons/search.png differ diff --git a/webinterface.py b/webinterface.py index 33b82f4e..867653db 100644 --- a/webinterface.py +++ b/webinterface.py @@ -300,10 +300,14 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \ followApprovalsSection='' followApprovals='' + linkToTimelineStart='' + linkToTimelineEnd='' if not authorized: loginButton='
' else: + linkToTimelineStart='' + linkToTimelineEnd='' # are there any follow requests? followRequestsFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/followrequests.txt' if os.path.isfile(followRequestsFilename): @@ -334,6 +338,7 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \ actor=profileJson['id'] profileStr= \ + linkToTimelineStart+ \ '
' \ '
' \ ' '+nickname+'@'+domainFull+'' \ @@ -342,7 +347,8 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \ '

'+profileDescription+'

'+ \ loginButton+ \ '
' \ - '
' \ + ''+ \ + linkToTimelineEnd+ \ '
\n' \ '
' \ ' ' \ @@ -523,13 +529,14 @@ def htmlTimeline(session,baseDir: str,wfRequest: {},personCache: {}, \ tlStr=htmlHeader(profileStyle) tlStr+= \ + '' \ '
' \ - '
' \ + '
' \ '
\n'+ \ ' ' \ ' ' \ ' Create a new post'+ \ - ' Add a new follow'+ \ + ' Search and follow'+ \ followApprovals+ \ '
' for item in timelineJson['orderedItems']: