aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-18 00:19:15 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-18 00:19:15 -0400
commitd886f4df9734ccf69647dfb5564effaca85fed50 (patch)
treec93303451785d0bf2977a75216165bd8f57ba37b /templates
parente44d9ffd89be84ad0f2ddfe6fc986be8eb8fc032 (diff)
parent3ceb008e1f50b89a2e0fda8fac939df92642219c (diff)
downloadgitea-d886f4df9734ccf69647dfb5564effaca85fed50.tar.gz
gitea-d886f4df9734ccf69647dfb5564effaca85fed50.zip
Merge branch 'master' of github.com:gogits/gogs
Conflicts: models/repo.go routers/repo/single.go templates/repo/single.tmpl
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/single.tmpl4
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}}