Show display names in forums and comments
This commit is contained in:
parent
13775b9722
commit
8863daac60
|
@ -68,7 +68,7 @@
|
|||
{{template "avatar-64x64" .Comment.User}}
|
||||
</a>
|
||||
</div>
|
||||
<a href="/u/{{.Comment.User.Username}}">{{.Comment.User.Username}}</a>
|
||||
<a href="/u/{{.Comment.User.Username}}">{{.Comment.User.NameOrUsername}}</a>
|
||||
</div>
|
||||
<div class="column content pt-1 pb-0">
|
||||
<a href="/forum/thread/{{.ID}}">
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
{{template "avatar-96x96" $c.User}}
|
||||
</a>
|
||||
</div>
|
||||
<a href="/u/{{$c.User.Username}}">{{$c.User.Username}}</a>
|
||||
<a href="/u/{{$c.User.Username}}">{{$c.User.NameOrUsername}}</a>
|
||||
{{if $c.User.IsAdmin}}
|
||||
<div class="is-size-7 mt-1">
|
||||
<span class="tag is-danger is-light">
|
||||
|
|
|
@ -217,7 +217,7 @@
|
|||
{{template "avatar-96x96" .User}}
|
||||
</a>
|
||||
</div>
|
||||
<a href="/u/{{.User.Username}}">{{.User.Username}}</a>
|
||||
<a href="/u/{{.User.Username}}">{{.User.NameOrUsername}}</a>
|
||||
</div>
|
||||
|
||||
<div class="column content">
|
||||
|
|
Loading…
Reference in New Issue
Block a user