mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 10:46:10 +01:00
Do not display org avatar near icon for internal repos (#13957)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
b35c1b5784
commit
633dc80077
|
@ -4,11 +4,6 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
{{if $.IsPrivate}}
|
{{if $.IsPrivate}}
|
||||||
{{svg "octicon-lock" 32}}
|
{{svg "octicon-lock" 32}}
|
||||||
{{else if and (not $.IsMirror) (not $.IsFork) ($.Owner)}}
|
|
||||||
{{svg "octicon-repo" 32}}
|
|
||||||
{{if $.Owner.Visibility.IsPrivate}}
|
|
||||||
{{avatar $.Owner}}
|
|
||||||
{{end}}
|
|
||||||
{{else if $.IsMirror}}
|
{{else if $.IsMirror}}
|
||||||
{{svg "octicon-mirror" 32}}
|
{{svg "octicon-mirror" 32}}
|
||||||
{{else if $.IsFork}}
|
{{else if $.IsFork}}
|
||||||
|
|
Loading…
Reference in a new issue