aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-06-18 19:00:53 +0200
committerGitHub <noreply@github.com>2021-06-18 19:00:53 +0200
commit889dea8fc1e78b0d915b27f122df116e7296336d (patch)
treef0c6d455c84759281abd507b01a5f02f66e380c8 /templates/user
parent59f25587e84e99c1c569d6149b9a3b8fb06641f2 (diff)
downloadgitea-889dea8fc1e78b0d915b27f122df116e7296336d.tar.gz
gitea-889dea8fc1e78b0d915b27f122df116e7296336d.zip
Remove User.GetOrganizations() (#14032)
as title
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/dashboard/repolist.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl
index 8ac07e1df6..f39d3711d4 100644
--- a/templates/user/dashboard/repolist.tmpl
+++ b/templates/user/dashboard/repolist.tmpl
@@ -9,7 +9,7 @@
:more-repos-link="'{{.ContextUser.HomeLink}}'"
{{if not .ContextUser.IsOrganization}}
:organizations="[
- {{range .ContextUser.Orgs}}
+ {{range .Orgs}}
{name: '{{.Name}}', num_repos: '{{.NumRepos}}'},
{{end}}
]"