Add an option to create new issues from "/issues" page (#20650)

This commit is contained in:
CodeDoctor authored and GitHub committed 2022-08-09 19:30:09 +08:00
1 parent 33b03e851f
commit 36f9ee5813
2 files changed
+9

No files matched your search

+3
View File
@@ -99,6 +99,9 @@
<a class="{{if eq .SortType "farduedate"}}active{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort=farduedate&state={{$.State}}&q={{$.Keyword}}">{{.locale.Tr "repo.issues.filter_sort.farduedate"}}</a>
</div>
</div>
{{if .SingleRepoLink}}
<a class="ui green button" href="{{.SingleRepoLink}}/issues/new/choose">{{.locale.Tr "repo.issues.new"}}</a>
{{end}}
</div>
</div>
{{template "shared/issuelist" mergeinto . "listType" "dashboard"}}