diff --git a/templates/repo/graph/commits.tmpl b/templates/repo/graph/commits.tmpl index 0c1e777c34e8..4a01fefeddc1 100644 --- a/templates/repo/graph/commits.tmpl +++ b/templates/repo/graph/commits.tmpl @@ -28,10 +28,10 @@ {{- end -}} - + {{RenderCommitMessage $.Context $commit.Subject $.RepoLink $.Repository.ComposeMetas}} - + {{range $commit.Refs}} {{$refGroup := .RefGroup}} {{if eq $refGroup "pull"}} @@ -54,20 +54,20 @@ {{svg "octicon-git-branch" 16 "gt-mr-2"}}{{.ShortName}} {{else}} - + {{end}} {{end}} - + {{$userName := $commit.Commit.Author.Name}} {{if $commit.User}} {{if $commit.User.FullName}} {{$userName = $commit.User.FullName}} {{end}} - {{avatar $.Context $commit.User}} + {{avatar $.Context $commit.User}} {{$userName}} {{else}} - {{avatarByEmail $.Context $commit.Commit.Author.Email $userName}} + {{avatarByEmail $.Context $commit.Commit.Author.Email $userName}} {{$userName}} {{end}} diff --git a/templates/repo/graph/svgcontainer.tmpl b/templates/repo/graph/svgcontainer.tmpl index 12c2cb4eb996..26528ef81ad4 100644 --- a/templates/repo/graph/svgcontainer.tmpl +++ b/templates/repo/graph/svgcontainer.tmpl @@ -14,9 +14,9 @@ {{- else if eq $glyph.Glyph '_' -}} M {{Add (Mul $glyph.Column 5) 0}} {{Add (Mul $glyph.Row 12) 12}} h 10 {{/* */ -}} {{- end -}} - {{- end}}" stroke-width="1" fill="none" id="flow-{{$flow.ID}}-path" stroke-linecap="round"> + {{- end}}" stroke-width="1" fill="none" id="flow-{{$flow.ID}}-path" stroke-linecap="round"> {{range $flow.Commits}} - + {{end}} {{end}}