Skip to content

Commit deca0f9

Browse files
committed
Adjust the layout of the top toolbar on the issues page
1 parent a25081f commit deca0f9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

templates/repo/issue/list.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
{{end}}
1616

1717
<div class="list-header">
18-
{{template "repo/issue/navbar" .}}
1918
{{template "repo/issue/search" .}}
19+
<a class="ui small button" href="{{.RepoLink}}/labels">{{ctx.Locale.Tr "repo.labels"}}</a>
20+
<a class="ui small button" href="{{.RepoLink}}/milestones">{{ctx.Locale.Tr "repo.milestones"}}</a>
2021
{{if not .Repository.IsArchived}}
2122
{{if .PageIsIssueList}}
2223
<a class="ui small primary button issue-list-new" href="{{.RepoLink}}/issues/new{{if .NewIssueChooseTemplate}}/choose{{end}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>

web_src/css/repo/list-header.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
gap: .5rem;
66
}
77

8+
.list-header > .ui.button {
9+
margin: 0;
10+
}
11+
812
.list-header-search {
913
display: flex;
1014
flex: 1;

0 commit comments

Comments
 (0)