Skip to content

Commit 2f1f7b8

Browse files
name2965a-nogikh
authored andcommitted
pkg/manager: add Repro Attempt Count column
Add a new column next to it to list the number of repro attempts separately.
1 parent 74e8e8f commit 2f1f7b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/manager/html/main.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<th><a onclick="return sortTable(this, 'First Time', textSort, true)" href="#">First Time</a></th>
2828
<th><a onclick="return sortTable(this, 'Last Time', textSort, true)" href="#">Last Time</a></th>
2929
<th><a onclick="return sortTable(this, 'Report', textSort)" href="#">Report</a></th>
30+
<th><a onclick="return sortTable(this, 'Repro Attempt Count', numSort)" href="#">Repro Attempt Count</a></th>
3031
</tr>
3132
{{range $c := $.Crashes}}
3233
<tr>
@@ -35,14 +36,14 @@
3536
<td class="time {{if not $c.New}}inactive{{end}}">{{formatTime $c.FirstTime}}</td>
3637
<td class="time {{if not $c.Active}}inactive{{end}}">{{formatTime $c.LastTime}}</td>
3738
<td>
38-
{{if $c.ReproAttempts}}[{{$c.ReproAttempts}} repro attempts]{{end}}
3939
{{if $c.Triaged}}
4040
<a href="/report?id={{$c.ID}}">{{$c.Triaged}}</a>
4141
{{end}}
4242
{{if $c.StraceFile}}
4343
<a href="/file?name={{$c.StraceFile}}">Strace</a>
4444
{{end}}
4545
</td>
46+
<td class="stat">{{if $c.ReproAttempts}}{{$c.ReproAttempts}}{{end}}</td>
4647
</tr>
4748
{{end}}
4849
</table>

0 commit comments

Comments
 (0)