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:
parent
03eb6c0640
commit
d2cb6f8da7
@ -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}}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user