Skip to content

Commit 03b7e11

Browse files
CirnoTzeripathlafriks
authored
Do not show lock icon on repo list for public repos in private org (#11445)
Co-authored-by: zeripath <[email protected]> Co-authored-by: Lauris BH <[email protected]>
1 parent fb43fbe commit 03b7e11

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

templates/explore/repo_list.tmpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
<span class="middle">{{svg "octicon-repo-forked" 16}}</span>
1616
{{else if .IsMirror}}
1717
<span class="middle">{{svg "octicon-repo-clone" 16}}</span>
18-
{{else if .Owner}}
19-
{{if .Owner.Visibility.IsPrivate}}
20-
<span class="text gold">{{svg "octicon-lock" 16}}</span>
21-
{{end}}
2218
{{end}}
2319
<div class="ui right metas">
2420
{{if .PrimaryLanguage }}

0 commit comments

Comments
 (0)