Skip to content

Commit 69e0505

Browse files
committed
fix
1 parent d63aca0 commit 69e0505

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

templates/repo/commits_list_group_by_date.tmpl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
{{$index := 0}}
21
{{range .GroupCommits}}
3-
{{$index = Eval $index "+" 1}}
4-
<div class="ui timeline commits-list-group-by-date" data-index="{{$index}}">
2+
<div class="ui timeline commits-list-group-by-date">
53

64
<div class="timeline-badge-wrapper">
75
<div class="timeline-badge">

templates/repo/commits_table.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
{{end}}
3131

3232
{{if and .GroupCommits (gt .CommitCount 0)}}
33-
{{template "repo/commits-list-group-by-date" .}}
33+
{{template "repo/commits_list_group_by_date" .}}
3434
{{end}}
3535

3636
{{template "base/paginate" .}}

0 commit comments

Comments
 (0)