diff options
Diffstat (limited to 'templates/repo/single.tmpl')
-rw-r--r-- | templates/repo/single.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl index 3831c2dc41..f167444635 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -73,10 +73,10 @@ </span> </td> <td class="text"> - <span class="wrap"><a href="/{{$username}}/{{$reponame}}/commit/{{.LastCommit}}">{{.Message}}</a></span> + <span class="wrap"><a href="/{{$username}}/{{$reponame}}/commit/{{.Commit.Oid}}">{{.Commit.Message}}</a></span> </td> <td class="date"> - <span class="wrap">{{TimeSince .Created}}</span> + <span class="wrap">{{TimeSince .Commit.Committer.When}}</span> </td> </tr> {{end}} |