]> source.dussan.org Git - gitea.git/commitdiff
Do not show lock icon on repo list for public repos in private org (#11445) v1.13.0-dev
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Sun, 17 May 2020 16:59:25 +0000 (18:59 +0200)
committerGitHub <noreply@github.com>
Sun, 17 May 2020 16:59:25 +0000 (19:59 +0300)
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
templates/explore/repo_list.tmpl

index 42e8d1f662d53212b350ac35746ff31855cc911d..37bd38c5faeaa52e712f7e6bbddca8664f9a12c8 100644 (file)
                                        <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 }}