diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/graph/commits.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/graph/commits.tmpl b/templates/repo/graph/commits.tmpl index 9f7a6c1c66..8cd6adb04d 100644 --- a/templates/repo/graph/commits.tmpl +++ b/templates/repo/graph/commits.tmpl @@ -1,9 +1,9 @@ <div id="rev-container"> <ul id="rev-list"> {{ range $commitI, $commit := .Graph.Commits }} - <li id="commit-{{$commit.Rev}}" data-flow="{{$commit.Flow}}"> + <li {{if $commit.Rev}}id="commit-{{$commit.Rev}}"{{end}} data-flow="{{$commit.Flow}}"> {{ if $commit.OnlyRelation }} - <span /> + <span></span> {{ else }} <span class="sha" id="{{$commit.ShortRev}}"> {{$class := "ui sha label"}} |