Browse Source

templates/org/home.tmpl: fix org member can't see public repo

pull/977/head
Unknwon 10 years ago
parent
commit
c753fdceaf
  1. 2
      gogs.go
  2. 2
      templates/.VERSION
  3. 2
      templates/org/home.tmpl

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())

2
templates/.VERSION

@ -1 +1 @@
0.5.14.0221 Beta
0.5.14.0222 Beta

2
templates/org/home.tmpl

@ -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…
Cancel
Save