{% extends 'stdgrid.html.twig' %} {% set id = actor.id %} {% set nick = actor.nickname %} {# TODO: how to get avatar in here? Tags and rest of profile info? #} {% set avatar = actor.nickname %} {% block title %}{{ nick }}'s profile{% endblock %} {% block body %}
{{ nick }}'s avatar{{ nick }}
{#
{% set actor_tags = actor.getSelfTags() %}
{% if actor_tags %} {% for tag in actor_tags %} #{{ tag }} {% endfor %} {% else %} {{ '(No tags)' | trans }} {% endif %}
{% set actor_bio = actor.getBio() %}
{% if actor_bio %}

{{ actor_bio }}

{% else %}

{{ '(No bio)' | trans }}

{% endif %}
#}
{% if notes is defined and notes is not empty %} {% for conversation in notes %} {% include '/note/view.html.twig' with {'note': conversation['note'], 'have_user': have_user, 'replies': conversation['replies']} only %}
{% endfor %} {% else %}

{% trans %}No notes here.{% endtrans %}

{% endif %}
{% endblock body %}