Set default bio

main
Bob Mottram 2021-04-21 21:01:09 +01:00
parent eaccc3f2e5
commit dcb5e4d2dd
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ def htmlWelcomeProfile(baseDir: str, nickname: str, domain: str,
bioStr = \
actorJson['summary'].replace('<p>', '').replace('</p>', '')
if not bioStr:
bioStr = translate['Your bio']
profileForm += ' <label class="labels">' + \
translate['Your bio'] + '</label><br>\n'
profileForm += ' <textarea id="message" name="bio" ' + \