2021-09-18 04:54:35 +01:00
|
|
|
{% set actor_nickname = actor.getNickname() %}
|
|
|
|
{% set actor_avatar = actor.getAvatarUrl() %}
|
2021-09-17 21:51:55 +01:00
|
|
|
{% set actor_tags = actor.getSelfTags() %}
|
|
|
|
{% set actor_bio = actor.getBio() %}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-22 14:10:36 +01:00
|
|
|
{% block profile_view %}
|
|
|
|
<section title="{{ actor_nickname }}'s {{ 'profile information.' | trans }}">
|
2021-09-20 14:38:39 +01:00
|
|
|
<a class='profile' href="{{ path('actor_view_nickname', {'nickname' : actor_nickname}) }}">
|
2021-09-22 14:10:36 +01:00
|
|
|
<img src='{{ actor_avatar }}' class="profile-avatar" alt="{{ actor_nickname }}{{ '\'s avatar.' | trans }}">
|
2021-09-20 14:38:39 +01:00
|
|
|
<div class="profile-info">
|
2021-09-22 14:10:36 +01:00
|
|
|
<strong id="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-20 14:38:39 +01:00
|
|
|
<nav class="profile-info-tags">
|
2021-09-17 21:51:55 +01:00
|
|
|
{% if actor_tags %}
|
|
|
|
{% for tag in actor_tags %}
|
|
|
|
<a href='#'><i> #{{ tag }} </i></a>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
2021-09-20 14:38:39 +01:00
|
|
|
{{ '(No tags)' | trans }}
|
2021-09-17 21:51:55 +01:00
|
|
|
{% endif %}
|
|
|
|
</nav>
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-09-20 14:38:39 +01:00
|
|
|
<section class="profile-info-stats">
|
2021-09-22 14:10:36 +01:00
|
|
|
<div><strong>{{ 'Subscriptions' | trans }}</strong>{{ actor.getSubscriptionsCount() }}</div>
|
|
|
|
<div><strong>{{ 'Subscribers' | trans }}</strong>{{ actor.getSubscribersCount() }}</div>
|
|
|
|
|
2021-09-17 21:51:55 +01:00
|
|
|
{% if actor_bio %}
|
|
|
|
<p>{{ actor_bio }}</p>
|
|
|
|
{% else %}
|
|
|
|
<p>{{ '(No bio)' | trans }}</p>
|
|
|
|
{% endif %}
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</a>
|
2021-09-22 14:10:36 +01:00
|
|
|
</section>
|
2021-09-20 14:38:39 +01:00
|
|
|
|
2021-09-22 14:10:36 +01:00
|
|
|
<hr>
|
|
|
|
{% endblock profile_view %}
|