diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-17 00:57:18 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-17 00:57:18 -0400 |
commit | 0f68930892bc49966769f8931e9a531b37dacb3b (patch) | |
tree | 2e125d90f57b3119229a62224cab807f3a79025a /templates/repo | |
parent | 664bbe4f54248b1c5e7110dc88b8d24209566a11 (diff) | |
download | gitea-0f68930892bc49966769f8931e9a531b37dacb3b.tar.gz gitea-0f68930892bc49966769f8931e9a531b37dacb3b.zip |
Add latest commit in repo viewer
Diffstat (limited to 'templates/repo')
-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 e1fb05bd03..4c6c7dd941 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -36,10 +36,10 @@ </div> <div class="panel panel-default info-box"> <div class="panel-heading info-head"> - Merge branch 'release/1.1.1' + <a href="/{{$username}}/{{$reponame}}/commit/{{.LatestCommit.SHA}}">{{.LatestCommit.Message}}</a> </div> <div class="panel-body info-content"> - slene authored 4 days ago + <a href="/user/{{.LatestCommit.Author}}">{{.LatestCommit.Author}}</a> <span class="text-muted">{{TimeSince .LatestCommit.Date}}</span> </div> <table class="panel-footer table file-list"> <thead class="hidden"> |