summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-13 02:14:57 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-13 02:14:57 -0500
commit6b7d35eade921058654207abf30bd718389d11f1 (patch)
tree555a939eaa9b9f4b6000ce2037e8c938048db7d4 /templates/user
parent6d0f3a07d4fa3189b0b7c4e366bddb6d72ef7e68 (diff)
downloadgitea-6b7d35eade921058654207abf30bd718389d11f1.tar.gz
gitea-6b7d35eade921058654207abf30bd718389d11f1.zip
fix mirror issues uncaught #941
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 44c2212383..fd33a40692 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -74,7 +74,7 @@
<div class="tab-pane active">
<div id="org-repo-list">
{{range .Repos}}
- {{if or (not .IsPrivate) (.HasAccess $.SignedUserName)}}
+ {{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>