Browse Source

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>
mj-v1.14.3
Cirno the Strongest 2 years ago
committed by GitHub
parent
commit
633dc80077
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      templates/repo/icon.tmpl

5
templates/repo/icon.tmpl

@ -4,11 +4,6 @@
{{else}}
{{if $.IsPrivate}}
{{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}}
{{svg "octicon-mirror" 32}}
{{else if $.IsFork}}

Loading…
Cancel
Save