diff options
author | slene <vslene@gmail.com> | 2014-03-30 10:13:02 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-30 10:13:02 +0800 |
commit | b27c34f39acee3bf7b6594a1f0db2183b343326c (patch) | |
tree | 47c19758b57fbaf43a3806191e4ab2f64be6978d /templates/repo/diff.tmpl | |
parent | 41ca0ed30212367389099cfefa41587ec80d85f5 (diff) | |
download | gitea-b27c34f39acee3bf7b6594a1f0db2183b343326c.tar.gz gitea-b27c34f39acee3bf7b6594a1f0db2183b343326c.zip |
update git api. fix link... and so on
Diffstat (limited to 'templates/repo/diff.tmpl')
-rw-r--r-- | templates/repo/diff.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index e58f2d664e..5c95ddefde 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -1,7 +1,6 @@ {{template "base/head" .}} {{template "base/navbar" .}} {{template "repo/nav" .}} -{{template "repo/toolbar" .}} <div id="body" class="container" data-page="repo"> <div id="source"> <div class="panel panel-info diff-box diff-head-box"> @@ -11,7 +10,7 @@ </div> <div class="panel-body"> <span class="pull-right"> - commit <span class="label label-default sha">{{.ShortSha}}</span> + commit <span class="label label-default sha">{{ShortSha .CommitId}}</span> </span> <p class="author"> <img class="avatar" src="{{AvatarLink .Commit.Author.Email}}" alt=""/> |