parent
3e2ae1b209
commit
3ebbb79bb5
|
@ -52,7 +52,7 @@ class ProfilePage(FormView):
|
||||||
identity = self.request.identity
|
identity = self.request.identity
|
||||||
return {
|
return {
|
||||||
"name": identity.name,
|
"name": identity.name,
|
||||||
"summary": html_to_plaintext(identity.summary),
|
"summary": html_to_plaintext(identity.summary) if identity.summary else "",
|
||||||
"icon": identity.icon and identity.icon.url,
|
"icon": identity.icon and identity.icon.url,
|
||||||
"image": identity.image and identity.image.url,
|
"image": identity.image and identity.image.url,
|
||||||
"discoverable": identity.discoverable,
|
"discoverable": identity.discoverable,
|
||||||
|
|
Loading…
Reference in New Issue