1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

Display the branch name in the commit view (#5950)

* add branch info

* Remove blank lines

* Remove blank lines

* update git dependency
This commit is contained in:
Lanre Adelowo
2019-02-05 22:47:01 +01:00
committed by zeripath
parent 2ec9bf9048
commit c20034be31
4 changed files with 13 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
{{if IsMultilineCommitMessage .Commit.Message}}
<pre class="commit-body">{{RenderCommitBody .Commit.Message $.RepoLink $.Repository.ComposeMetas}}</pre>
{{end}}
<span class="text grey"><i class="octicon octicon-git-branch"></i>{{.Commit.Branch}}</span>
</div>
<div class="ui attached info segment {{if .Commit.Signature}} isSigned {{if .Verification.Verified }} isVerified {{end}}{{end}}">
<div class="ui stackable grid">