From e57b2dffa42e554810d9b3f027bd8c5e12ba7369 Mon Sep 17 00:00:00 2001 From: Adam Strzelecki Date: Sat, 28 Nov 2015 22:31:06 +0100 Subject: Admin should be able to see all organizations This is follow-up for 56c66ee486b4b8d544201662de62a23f36e6a069 allowing admin to see private repositories, even when not being member of them. --- templates/org/home.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index f1e19e30dc..fdd494b19b 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -24,7 +24,6 @@
- {{$isMember := .Org.IsOrgMember $.SignedUser.Id}}
{{if .IsOrganizationOwner}}
@@ -38,13 +37,14 @@

{{.i18n.Tr "org.people"}} - {{if $isMember}} + {{if .IsOrganizationMember}} {{end}}

+ {{$isMember := .IsOrganizationMember}} {{range .Members}} {{if or $isMember (.IsPublicMember $.Org.Id)}} @@ -57,7 +57,7 @@
{{end}} - {{if $isMember}} + {{if .IsOrganizationMember}}
{{.i18n.Tr "org.teams"}}
-- cgit v1.2.3