+5
appview/pages/pages.go
+5
appview/pages/pages.go
+3
-3
appview/pages/templates/repo/commit.html
+3
-3
appview/pages/templates/repo/commit.html
···
2
3
{{ define "content" }}
4
5
-
{{ $repo := .RepoInfo.Name }}
6
{{ $commit := .Diff.Commit }}
7
{{ $stat := .Diff.Stat }}
8
{{ $diff := .Diff.Diff }}
···
17
<div>
18
<strong>commit</strong>
19
<p><a href="/{{ $repo }}/commit/{{ $commit.This }}" class="commit-hash">
20
-
{{ $commit.This }}
21
</a>
22
</p>
23
</div>
···
26
<div>
27
<strong>parent</strong>
28
<p><a href="/{{ $repo }}/commit/{{ $commit.Parent }}" class="commit-hash">
29
-
{{ $commit.Parent }}
30
</a></p>
31
</div>
32
···
2
3
{{ define "content" }}
4
5
+
{{ $repo := .RepoInfo.FullName }}
6
{{ $commit := .Diff.Commit }}
7
{{ $stat := .Diff.Stat }}
8
{{ $diff := .Diff.Diff }}
···
17
<div>
18
<strong>commit</strong>
19
<p><a href="/{{ $repo }}/commit/{{ $commit.This }}" class="commit-hash">
20
+
{{ slice $commit.This 0 8 }}
21
</a>
22
</p>
23
</div>
···
26
<div>
27
<strong>parent</strong>
28
<p><a href="/{{ $repo }}/commit/{{ $commit.Parent }}" class="commit-hash">
29
+
{{ slice $commit.Parent 0 8 }}
30
</a></p>
31
</div>
32
+1
-1
appview/pages/templates/repo/index.html
+1
-1
appview/pages/templates/repo/index.html
+1
-1
appview/pages/templates/repo/log.html
+1
-1
appview/pages/templates/repo/log.html