Skip to content

Commit 68841c4

Browse files
committed
wrap only time
1 parent ce5470a commit 68841c4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

templates/shared/issuelist.tmpl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
{{end}}
2626
</span>
2727
</div>
28+
{{if .TotalTrackedTime}}
29+
<div class="text grey flex-text-block">
30+
{{svg "octicon-clock" 16}}
31+
{{.TotalTrackedTime | Sec2Time}}
32+
</div>
33+
{{end}}
2834
</div>
2935
<div class="flex-item-body">
3036
<a class="index" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
@@ -126,14 +132,8 @@
126132
{{end}}
127133
</div>
128134
</div>
129-
{{if or .TotalTrackedTime .Assignees .NumComments}}
135+
{{if or .Assignees .NumComments}}
130136
<div class="flex-item-trailing">
131-
{{if .TotalTrackedTime}}
132-
<div class="text grey flex-text-block">
133-
{{svg "octicon-clock" 16}}
134-
{{.TotalTrackedTime | Sec2Time}}
135-
</div>
136-
{{end}}
137137
{{if .Assignees}}
138138
<div class="text grey">
139139
{{range .Assignees}}

0 commit comments

Comments
 (0)