diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index a2b802f2a2d0f..e8015b40eacb5 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -25,30 +25,10 @@ {{end}} - {{if or .TotalTrackedTime .Assignees .NumComments}} -
- {{if .TotalTrackedTime}} -
- {{svg "octicon-clock" 16}} - {{.TotalTrackedTime | Sec2Time}} -
- {{end}} - {{if .Assignees}} -
- {{range .Assignees}} - - {{ctx.AvatarUtils.Avatar . 20}} - - {{end}} -
- {{end}} - {{if .NumComments}} -
- - {{svg "octicon-comment" 16}}{{.NumComments}} - -
- {{end}} + {{if .TotalTrackedTime}} +
+ {{svg "octicon-clock" 16}} + {{.TotalTrackedTime | Sec2Time}}
{{end}}
@@ -152,6 +132,26 @@ {{end}} + {{if or .Assignees .NumComments}} +
+ {{if .Assignees}} +
+ {{range .Assignees}} + + {{ctx.AvatarUtils.Avatar . 20}} + + {{end}} +
+ {{end}} + {{if .NumComments}} +
+ + {{svg "octicon-comment" 16}}{{.NumComments}} + +
+ {{end}} +
+ {{end}} {{end}} {{if .IssueIndexerUnavailable}}