[CARDS][Profile] Fix bio
Was using 'hasBio()' instead of 'getBio()'
This commit is contained in:
parent
a1a6f5f4fd
commit
ea42ba9f26
@ -2,7 +2,7 @@
|
|||||||
{% set actor_avatar = actor.getAvatarUrl() %}
|
{% set actor_avatar = actor.getAvatarUrl() %}
|
||||||
{% set actor_avatar_dimensions = actor.getAvatarDimensions() %}
|
{% set actor_avatar_dimensions = actor.getAvatarDimensions() %}
|
||||||
{% set actor_tags = actor.getSelfTags() %}
|
{% set actor_tags = actor.getSelfTags() %}
|
||||||
{% set actor_bio = actor.hasBio() %}
|
{% set actor_has_bio = actor.hasBio() %}
|
||||||
{% set actor_uri = actor.getUri() %}
|
{% set actor_uri = actor.getUri() %}
|
||||||
|
|
||||||
{% block profile_view %}
|
{% block profile_view %}
|
||||||
@ -13,8 +13,8 @@
|
|||||||
<strong class="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>
|
<strong class="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>
|
||||||
|
|
||||||
<section class="profile-info-bio">
|
<section class="profile-info-bio">
|
||||||
{% if actor_bio %}
|
{% if actor_has_bio %}
|
||||||
<span>{{ actor_bio }}</span>
|
<span>{{ actor.getBio() }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>{{ '(No bio)' | trans }}</span>
|
<span>{{ '(No bio)' | trans }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user