summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-12-13 22:51:15 +0100
committerGitHub <noreply@github.com>2020-12-13 16:51:15 -0500
commit633dc80077140f141861b779698881efffca52f7 (patch)
treece14e4608952e66c1bd7658df5008b7ab7e40109
parentb35c1b5784b99fa71d0ea3ddf8ac253dc44c0d82 (diff)
downloadgitea-633dc80077140f141861b779698881efffca52f7.tar.gz
gitea-633dc80077140f141861b779698881efffca52f7.zip
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>
-rw-r--r--templates/repo/icon.tmpl5
1 files changed, 0 insertions, 5 deletions
diff --git a/templates/repo/icon.tmpl b/templates/repo/icon.tmpl
index b4d8a24560..70634a6348 100644
--- a/templates/repo/icon.tmpl
+++ b/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}}