0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-03 16:52:10 +02:00

ensure group header only shows teams link if actor is group admin or owner

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-11-30 19:37:27 -05:00
parent 696cbd033a
commit f164de9d2a
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -7,7 +7,7 @@
<div class="ui small label">{{.RepoCount}}</div>
{{end}}
</a>
{{if .IsGroupMember}}
{{if or .IsGroupOwner .IsGroupAdmin}}
<a class="{{if $.PageIsGroupTeams}}active {{end}}item" href="{{$.OrgGroupLink}}/teams">
{{svg "octicon-people"}} {{ctx.Locale.Tr "org.teams"}}
{{if .NumTeams}}