mirror of https://gitlab.com/bashrc2/epicyon
Set default bio
parent
eaccc3f2e5
commit
dcb5e4d2dd
|
@ -107,6 +107,8 @@ def htmlWelcomeProfile(baseDir: str, nickname: str, domain: str,
|
||||||
|
|
||||||
bioStr = \
|
bioStr = \
|
||||||
actorJson['summary'].replace('<p>', '').replace('</p>', '')
|
actorJson['summary'].replace('<p>', '').replace('</p>', '')
|
||||||
|
if not bioStr:
|
||||||
|
bioStr = translate['Your bio']
|
||||||
profileForm += ' <label class="labels">' + \
|
profileForm += ' <label class="labels">' + \
|
||||||
translate['Your bio'] + '</label><br>\n'
|
translate['Your bio'] + '</label><br>\n'
|
||||||
profileForm += ' <textarea id="message" name="bio" ' + \
|
profileForm += ' <textarea id="message" name="bio" ' + \
|
||||||
|
|
Loading…
Reference in New Issue