1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00

[UI] Fix milestone header inconsistencies with issues/PRs

This commit is contained in:
0ko 2024-04-20 14:06:26 +05:00
parent 41e0507cd3
commit 592367c43a

View file

@ -4,11 +4,13 @@
<div class="ui container">
{{template "base/alert" .}}
<div class="list-header">
<div class="list-header list-header-issues">
{{template "repo/issue/navbar" .}}
{{template "repo/issue/search" .}}
{{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
<a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.milestones.new"}}</a>
<div class="top-right-buttons">
<a class="ui small primary button" href="{{$.Link}}/new">{{ctx.Locale.Tr "repo.milestones.new"}}</a>
</div>
{{end}}
</div>