diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-13 02:14:57 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-13 02:14:57 -0500 |
commit | 6b7d35eade921058654207abf30bd718389d11f1 (patch) | |
tree | 555a939eaa9b9f4b6000ce2037e8c938048db7d4 /templates | |
parent | 6d0f3a07d4fa3189b0b7c4e366bddb6d72ef7e68 (diff) | |
download | gitea-6b7d35eade921058654207abf30bd718389d11f1.tar.gz gitea-6b7d35eade921058654207abf30bd718389d11f1.zip |
fix mirror issues uncaught #941
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/org/home.tmpl | 2 | ||||
-rw-r--r-- | templates/user/profile.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 2aad3653cb..3e22111f8c 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.13.0211 Beta
\ No newline at end of file +0.5.14.0213 Beta
\ No newline at end of file diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index bb160b57ba..4929a88198 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -27,7 +27,7 @@ </div> <div id="org-repo-list"> {{range .Repos}} - {{if .HasAccess $.SignedUser.Name}} + {{if .HasAccess $.SignedUser}} <div class="org-repo-item"> <ul class="org-repo-status right"> <li><i class="octicon octicon-star"></i> {{.NumStars}}</li> 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> |