mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
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>
This commit is contained in:
parent
fb43fbe0aa
commit
03b7e11bd6
@ -15,10 +15,6 @@
|
|||||||
<span class="middle">{{svg "octicon-repo-forked" 16}}</span>
|
<span class="middle">{{svg "octicon-repo-forked" 16}}</span>
|
||||||
{{else if .IsMirror}}
|
{{else if .IsMirror}}
|
||||||
<span class="middle">{{svg "octicon-repo-clone" 16}}</span>
|
<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}}
|
{{end}}
|
||||||
<div class="ui right metas">
|
<div class="ui right metas">
|
||||||
{{if .PrimaryLanguage }}
|
{{if .PrimaryLanguage }}
|
||||||
|
Loading…
Reference in New Issue
Block a user