[TEMPLATES][Profile] Use URI instead of URL

This commit is contained in:
Diogo Peralta Cordeiro 2021-11-02 08:34:08 +00:00
parent c4088e221f
commit d9265c5402
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0

View File

@ -2,10 +2,11 @@
{% set actor_avatar = actor.getAvatarUrl() %}
{% set actor_tags = actor.getSelfTags() %}
{% set actor_bio = actor.getBio() %}
{% set actor_uri = actor.getUri() %}
{% block profile_view %}
<section id='profile-{{ actor.id }}' class='profile' title="{{ actor_nickname }}'s {{ 'profile information.' | trans }}">
<a href="{{ path('actor_view_nickname', {'nickname' : actor_nickname}) }}">
<a href="{{ actor_uri }}">
<div class="profile-info">
<img src='{{ actor_avatar }}' class="profile-avatar" alt="{{ actor_nickname }}{{ '\'s avatar.' | trans }}">
<strong class="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>