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

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ committed 2026-04-02 20:15:46 -04:00
1 parent 03eb6c0640
commit d2cb6f8da7
1 file changed
+5 -1
+5 -1
View File
@@ -10,7 +10,11 @@
{{ctx.Locale.PrettyNumber .ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}} {{ctx.Locale.PrettyNumber .ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}}
</a> </a>
</div> </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> </div>
{{end}} {{end}}