Logout button

main2
Bob Mottram 2019-10-30 11:41:54 +00:00
parent 0465f33857
commit 974828ef1f
8 changed files with 16 additions and 8 deletions

View File

@ -164,5 +164,6 @@
"October": "October",
"November": "November",
"December": "December",
"Only people I follow can send me DMs": "Only people I follow can send me DMs"
"Only people I follow can send me DMs": "Only people I follow can send me DMs",
"Logout": "Logout"
}

View File

@ -164,5 +164,6 @@
"October": "October",
"November": "November",
"December": "December",
"Only people I follow can send me DMs": "Only people I follow can send me DMs"
"Only people I follow can send me DMs": "Only people I follow can send me DMs",
"Logout": "Logout"
}

View File

@ -164,5 +164,6 @@
"October": "October",
"November": "November",
"December": "December",
"Only people I follow can send me DMs": "Only people I follow can send me DMs"
"Only people I follow can send me DMs": "Only people I follow can send me DMs",
"Logout": "Logout"
}

View File

@ -164,5 +164,6 @@
"October": "October",
"November": "November",
"December": "December",
"Only people I follow can send me DMs": "Only people I follow can send me DMs"
"Only people I follow can send me DMs": "Only people I follow can send me DMs",
"Logout": "Logout"
}

View File

@ -164,5 +164,6 @@
"October": "October",
"November": "November",
"December": "December",
"Only people I follow can send me DMs": "Only people I follow can send me DMs"
"Only people I follow can send me DMs": "Only people I follow can send me DMs",
"Logout": "Logout"
}

View File

@ -164,5 +164,6 @@
"October": "October",
"November": "November",
"December": "December",
"Only people I follow can send me DMs": "Only people I follow can send me DMs"
"Only people I follow can send me DMs": "Only people I follow can send me DMs",
"Logout": "Logout"
}

View File

@ -164,5 +164,6 @@
"October": "October",
"November": "November",
"December": "December",
"Only people I follow can send me DMs": "Only people I follow can send me DMs"
"Only people I follow can send me DMs": "Only people I follow can send me DMs",
"Logout": "Logout"
}

View File

@ -1223,6 +1223,7 @@ def htmlProfile(translate: {},projectVersion: str, \
loginButton='<br><a href="/login"><button class="loginButton">'+translate['Login']+'</button></a>'
else:
editProfileStr='<a href="'+actor+'/editprofile"><button class="button"><span>'+translate['Edit']+' </span></button></a>'
logoutStr='<a href="/logout"><button class="button"><span>'+translate['Logout']+' </span></button></a>'
linkToTimelineStart='<a href="/users/'+nickname+'/inbox" title="'+translate['Switch to timeline view']+'" alt="'+translate['Switch to timeline view']+'">'
linkToTimelineEnd='</a>'
# are there any follow requests?
@ -1291,7 +1292,7 @@ def htmlProfile(translate: {},projectVersion: str, \
' <a href="'+actor+'/roles"><button class="'+rolesButton+'"><span>'+translate['Roles']+' </span></button></a>' \
' <a href="'+actor+'/skills"><button class="'+skillsButton+'"><span>'+translate['Skills']+' </span></button></a>' \
' <a href="'+actor+'/shares"><button class="'+sharesButton+'"><span>'+translate['Shares']+' </span></button></a>'+ \
editProfileStr+ \
editProfileStr+logoutStr+ \
' </center>' \
'</div>'