aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authorVladimir Yakovlev <nagos@inbox.ru>2022-07-26 19:13:24 +0300
committerGitHub <noreply@github.com>2022-07-26 11:13:24 -0500
commit5ed082b62491f17c6c91e21f8fe7d544559b0ea1 (patch)
treeac19f17f501c1d212469bc08d329612a2d98cc9e /templates/org
parenta701fd35cf6efdecf8047cb1ee9eb683d95b1db5 (diff)
downloadgitea-5ed082b62491f17c6c91e21f8fe7d544559b0ea1.tar.gz
gitea-5ed082b62491f17c6c91e21f8fe7d544559b0ea1.zip
Fix org members bug (#20489)
* Fix bug in public only org members list bug was introduced in d6779c7ad3 * Expanded org unit test
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/member/members.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl
index 9a2c235aa6..b558dbe5ee 100644
--- a/templates/org/member/members.tmpl
+++ b/templates/org/member/members.tmpl
@@ -29,7 +29,7 @@
{{end}}
</div>
</div>
- {{if not .PublicOnly}}
+ {{if not $.PublicOnly}}
<div class="ui three wide column center">
<div class="meta">
{{$.locale.Tr "org.members.member_role"}}