Show userName as link only when a user is not removed (#2516)

This commit is contained in:
SIkebe
2020-08-20 10:44:10 +09:00
committed by GitHub
parent 2cc1336e82
commit a6063c8aa9

View File

@@ -27,7 +27,11 @@
</div>
<div class="strong">
@helpers.avatarLink(account.userName, 20)
<a href="@helpers.url(account.userName)">@account.userName</a>
@if(account.isRemoved){
@account.userName
} else {
<a href="@helpers.url(account.userName)">@account.userName</a>
}
@if(account.isGroupAccount){
(Group)
} else {