Browse Source

Do not show lock icon on repo list for public repos in private org (#11445)

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
tags/v1.13.0-dev^0
Cirno the Strongest 4 years ago
parent
commit
03b7e11bd6
No account linked to committer's email address
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      templates/explore/repo_list.tmpl

+ 0
- 4
templates/explore/repo_list.tmpl View File

@@ -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 }}

Loading…
Cancel
Save