forked from indymedia/epicyon
Set the admin nickname
parent
340bbf7d28
commit
eaf711672a
|
@ -266,6 +266,7 @@ def createPerson(baseDir: str,nickname: str,domain: str,port: int, \
|
|||
setRole(baseDir,nickname,domain,'instance','admin')
|
||||
setRole(baseDir,nickname,domain,'instance','moderator')
|
||||
setRole(baseDir,nickname,domain,'instance','delegator')
|
||||
setConfigParam(baseDir,'admin',nickname)
|
||||
|
||||
if not os.path.isdir(baseDir+'/accounts'):
|
||||
os.mkdir(baseDir+'/accounts')
|
||||
|
|
|
@ -570,7 +570,7 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \
|
|||
if not authorized:
|
||||
loginButton='<br><a href="/login"><button class="loginButton">Login</button></a>'
|
||||
else:
|
||||
editProfileStr='<a href="'+actor+'/editprofile"><button class="button"><span>Profile </span></button></a>'
|
||||
editProfileStr='<a href="'+actor+'/editprofile"><button class="button"><span>Edit </span></button></a>'
|
||||
linkToTimelineStart='<a href="/users/'+nickname+'/inbox" title="Switch to timeline view" alt="Switch to timeline view">'
|
||||
linkToTimelineEnd='</a>'
|
||||
# are there any follow requests?
|
||||
|
|
Loading…
Reference in New Issue