templates: improve this & parent commit
This commit is contained in:
parent
1375740735
commit
86eb64311c
|
@ -15,16 +15,23 @@
|
||||||
<div>{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div>
|
<div>{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>commit: <a href="/{{ .name }}/commit/{{ .commit.This }}">
|
<div>
|
||||||
|
<strong>commit</strong>
|
||||||
|
<p><a href="/{{ .name }}/commit/{{ .commit.This }}">
|
||||||
{{ .commit.This }}
|
{{ .commit.This }}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ if .commit.Parent }}
|
{{ if .commit.Parent }}
|
||||||
<p>parent: <a href="/{{ .name }}/commit/{{ .commit.Parent }}">
|
<div>
|
||||||
|
<strong>parent</strong>
|
||||||
|
<p><a href="/{{ .name }}/commit/{{ .commit.Parent }}">
|
||||||
{{ .commit.Parent }}
|
{{ .commit.Parent }}
|
||||||
</a>
|
</a></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
|
||||||
<div class="diff-stat">
|
<div class="diff-stat">
|
||||||
<div>
|
<div>
|
||||||
{{ .stat.FilesChanged }} files changed,
|
{{ .stat.FilesChanged }} files changed,
|
||||||
|
|
Loading…
Reference in New Issue