diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-10-09 19:01:22 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-10-09 19:01:22 -0400 |
commit | 79262173a6e0a5734ebfc1565e45353677008302 (patch) | |
tree | 279574f1398259d1a875dacd0817e77c9117ccc0 /templates/org | |
parent | 7b03b1df0efab201b48001200b17ed3390fa83da (diff) | |
download | gitea-79262173a6e0a5734ebfc1565e45353677008302.tar.gz gitea-79262173a6e0a5734ebfc1565e45353677008302.zip |
Webhook delivery locking & Hide repo for org members if they don't have access
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index a2517a225f..bb160b57ba 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -27,7 +27,7 @@ </div> <div id="org-repo-list"> {{range .Repos}} - {{if or $isMember (not .IsPrivate)}} + {{if .HasAccess $.SignedUser.Name}} <div class="org-repo-item"> <ul class="org-repo-status right"> <li><i class="octicon octicon-star"></i> {{.NumStars}}</li> |