Use User.full_nickname/1 in oauth html template

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-02-07 17:55:52 +01:00
parent 72480e7b2f
commit 0fcdcc2300
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Use User.full_nickname/1 in oauth html template

View File

@ -13,7 +13,7 @@
<div class="account-header__avatar" style="background-image: url('<%= Pleroma.User.avatar_url(@user) %>')"></div>
<div class="account-header__meta">
<div class="account-header__display-name"><%= @user.name %></div>
<div class="account-header__nickname">@<%= @user.nickname %>@<%= Pleroma.User.get_host(@user) %></div>
<div class="account-header__nickname">@<%= Pleroma.User.full_nickname(@user.nickname) %></div>
</div>
</div>
<% end %>