mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 14:03:24 +09:00
fix: avoid nil panic and refactor some trivial problems (#39251)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{{$ownerUser := $.OwnerUser}}
|
||||
{{if $ownerUser}}
|
||||
<a class="tw-break-anywhere" href="{{$ownerUser.HomeLink}}">{{$ownerUser.Name}}</a>
|
||||
{{if $ownerUser.Visibility.IsPrivate}}<span class="tw-text-gold">{{svg "octicon-lock"}}</span>{{end}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user