summaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-28 21:50:29 -0500
committerUnknwon <u@gogs.io>2015-02-28 21:50:29 -0500
commitb0b11fd7b1bd5e556c27ccae73668b7df74cd73e (patch)
tree134a3b875952990ffe83f5b583d461b6b2e942df /templates/org/home.tmpl
parent3a6ba39a61c68d967c6c08aa087d2de2d0bf7ec0 (diff)
parentf44204e9449c09e0fef37a4974dc2f2043593d6f (diff)
downloadgitea-b0b11fd7b1bd5e556c27ccae73668b7df74cd73e.tar.gz
gitea-b0b11fd7b1bd5e556c27ccae73668b7df74cd73e.zip
Merge branch 'access' of github.com:gogits/gogs into dev
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index df29d61fc4..fdce06a298 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 (not .IsPrivate) (.HasAccess $.SignedUser.Name)}}
+ {{if or (not .IsPrivate) (.HasAccess $.SignedUser)}}
<div class="org-repo-item">
<ul class="org-repo-status right">
<li><i class="octicon octicon-star"></i> {{.NumStars}}</li>