diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-17 23:04:49 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-17 23:04:49 +0800 |
commit | 45a6444b1ead3ebedcf79204cabe44df672f59d5 (patch) | |
tree | 3aa7e4d1c274d895588f29106282f09b3e862c8c /templates/repo/commits.tmpl | |
parent | be8baea7ad269eb633a6b5a569b904982021723d (diff) | |
download | gitea-45a6444b1ead3ebedcf79204cabe44df672f59d5.tar.gz gitea-45a6444b1ead3ebedcf79204cabe44df672f59d5.zip |
add commits
Diffstat (limited to 'templates/repo/commits.tmpl')
-rw-r--r-- | templates/repo/commits.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 7ebe68b6a0..9190a030a3 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -4,6 +4,11 @@ {{template "repo/toolbar" .}} <div id="gogs-body" class="container"> <div id="gogs-commits"> + <ul> + {{range .Commits}} + <li>{{.Committer.Name}} - {{.Id}} - {{.Message}} - {{.Committer.When}}</li> + {{end}} + </ul> </div> </div> {{template "base/footer" .}}
\ No newline at end of file |