aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCirno the Strongest2020-05-17 18:59:25 +0200
committerGitHub2020-05-17 19:59:25 +0300
commit03b7e11bd6125d4128cf99bc408723d1548f0613 (patch)
tree5e973dbcf70d085faa6d258eb2ec4f1e0b8cf248
parentfb43fbe0aacf2e0f377432bae98ede408310f777 (diff)
Do not show lock icon on repo list for public repos in private org (#11445)v1.13.0-dev
Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
-rw-r--r--templates/explore/repo_list.tmpl4
1 files changed, 0 insertions, 4 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index 42e8d1f66..37bd38c5f 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -15,10 +15,6 @@
<span class="middle">{{svg "octicon-repo-forked" 16}}</span>
{{else if .IsMirror}}
<span class="middle">{{svg "octicon-repo-clone" 16}}</span>
- {{else if .Owner}}
- {{if .Owner.Visibility.IsPrivate}}
- <span class="text gold">{{svg "octicon-lock" 16}}</span>
- {{end}}
{{end}}
<div class="ui right metas">
{{if .PrimaryLanguage }}