diff --git a/img/icons/newpost.png b/img/icons/newpost.png new file mode 100644 index 000000000..f3fa8dab5 Binary files /dev/null and b/img/icons/newpost.png differ diff --git a/webinterface.py b/webinterface.py index 5aeb51d68..33b82f4e4 100644 --- a/webinterface.py +++ b/webinterface.py @@ -503,16 +503,12 @@ def htmlTimeline(session,baseDir: str,wfRequest: {},personCache: {}, \ cssFile.read().replace('banner.png', \ '/users/'+nickname+'/banner.png') - localButton='button' - personalButton='button' - federatedButton='button' - newPostButton='button' + inboxButton='button' + sentButton='button' if boxName=='inbox': - localButton='buttonselected' + inboxButton='buttonselected' elif boxName=='outbox': - personalButton='buttonselected' - elif boxName=='federated': - federatedButton='buttonselected' + sentButton='buttonselected' actor='/users/'+nickname followApprovals='' @@ -522,19 +518,18 @@ def htmlTimeline(session,baseDir: str,wfRequest: {},personCache: {}, \ for line in f: if len(line)>0: # show follow approvals icon - followApprovals='' + followApprovals='Approve follow requests' break tlStr=htmlHeader(profileStyle) - newPostStr=' ' tlStr+= \ '
' \ '
' \ '
\n'+ \ - newPostStr+ \ - ' ' \ - ' ' \ - ' '+ \ + ' ' \ + ' ' \ + ' Create a new post'+ \ + ' Add a new follow'+ \ followApprovals+ \ '
' for item in timelineJson['orderedItems']: