forked from gitea/gitea
templates/org/home.tmpl: fix org member can't see public repo
This commit is contained in:
parent
a6a99d49cf
commit
c753fdceaf
2
gogs.go
2
gogs.go
|
@ -17,7 +17,7 @@ import (
|
|||
"github.com/gogits/gogs/modules/setting"
|
||||
)
|
||||
|
||||
const APP_VER = "0.5.14.0221 Beta"
|
||||
const APP_VER = "0.5.14.0222 Beta"
|
||||
|
||||
func init() {
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.5.14.0221 Beta
|
||||
0.5.14.0222 Beta
|
|
@ -27,7 +27,7 @@
|
|||
</div>
|
||||
<div id="org-repo-list">
|
||||
{{range .Repos}}
|
||||
{{if .HasAccess $.SignedUser.Name}}
|
||||
{{if or (not .IsPrivate) (.HasAccess $.SignedUser.Name)}}
|
||||
<div class="org-repo-item">
|
||||
<ul class="org-repo-status right">
|
||||
<li><i class="octicon octicon-star"></i> {{.NumStars}}</li>
|
||||
|
|
Loading…
Reference in New Issue