web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

templates: improve this & parent commit

+11 -4
+11 -4
templates/commit.html
··· 15 15 <div>{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div> 16 16 </div> 17 17 18 - <p>commit: <a href="/{{ .name }}/commit/{{ .commit.This }}"> 18 + <div> 19 + <strong>commit</strong> 20 + <p><a href="/{{ .name }}/commit/{{ .commit.This }}"> 19 21 {{ .commit.This }} 20 22 </a> 21 23 </p> 24 + </div> 25 + 22 26 {{ if .commit.Parent }} 23 - <p>parent: <a href="/{{ .name }}/commit/{{ .commit.Parent }}"> 27 + <div> 28 + <strong>parent</strong> 29 + <p><a href="/{{ .name }}/commit/{{ .commit.Parent }}"> 24 30 {{ .commit.Parent }} 25 - </a> 31 + </a></p> 32 + </div> 33 + 26 34 {{ end }} 27 - </p> 28 35 <div class="diff-stat"> 29 36 <div> 30 37 {{ .stat.FilesChanged }} files changed,