[CARDS][Profile] Fix bio

Was using 'hasBio()' instead of 'getBio()'
This commit is contained in:
Eliseu Amaro 2021-12-26 23:00:55 +00:00 committed by Diogo Peralta Cordeiro
parent a1a6f5f4fd
commit ea42ba9f26
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0

View File

@ -2,7 +2,7 @@
{% set actor_avatar = actor.getAvatarUrl() %}
{% set actor_avatar_dimensions = actor.getAvatarDimensions() %}
{% set actor_tags = actor.getSelfTags() %}
{% set actor_bio = actor.hasBio() %}
{% set actor_has_bio = actor.hasBio() %}
{% set actor_uri = actor.getUri() %}
{% block profile_view %}
@ -13,8 +13,8 @@
<strong class="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>
<section class="profile-info-bio">
{% if actor_bio %}
<span>{{ actor_bio }}</span>
{% if actor_has_bio %}
<span>{{ actor.getBio() }}</span>
{% else %}
<span>{{ '(No bio)' | trans }}</span>
{% endif %}