mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-06 19:36:30 +02:00
Show userName as link only when a user is not removed (#2516)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user