From 64bebc9402f0cee7a6fb984fa96f2ccf7996aef9 Mon Sep 17 00:00:00 2001 From: metiftikci Date: Sun, 29 Dec 2024 03:30:06 +0300 Subject: [PATCH] always show assignees on right (#33006) ### Before ![old_issue_list](https://github.com/user-attachments/assets/c7a6631d-9330-4e29-9e01-c1bcb2a0387f) ### After ![new_issue_list](https://github.com/user-attachments/assets/5a13c413-b58e-40bb-888b-9edfe3c94e0c) --- templates/shared/issuelist.tmpl | 48 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index a2b802f2a2..e8015b40ea 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}} - - {{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}} + + {{end}} +
+ {{end}} {{end}} {{if .IssueIndexerUnavailable}}