0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-05 22:54:55 +02:00

ensure we do not display an add button when viewing a group's projects

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-12 22:55:06 -04:00
parent 03eb6c0640
commit d2cb6f8da7
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -10,7 +10,11 @@
{{ctx.Locale.PrettyNumber .ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}}
</a>
</div>
<a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.projects.new"}}</a>
{{if not $.Group}}
<div class="tw-text-right">
<a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.projects.new"}}</a>
</div>
{{end}}
</div>
{{end}}