summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2019-02-05 22:47:01 +0100
committerzeripath <art27@cantab.net>2019-02-05 21:47:01 +0000
commitc20034be31034f135f4e5f0a995ae82c318516c2 (patch)
tree124952a1b21db58526e9776c7393203b4f2b5305 /templates/repo
parent2ec9bf9048b86092c3c31a150df75eae753df7c1 (diff)
downloadgitea-c20034be31034f135f4e5f0a995ae82c318516c2.tar.gz
gitea-c20034be31034f135f4e5f0a995ae82c318516c2.zip
Display the branch name in the commit view (#5950)
* add branch info * Remove blank lines * Remove blank lines * update git dependency
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff/page.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl
index d8489dffb9..3f383add94 100644
--- a/templates/repo/diff/page.tmpl
+++ b/templates/repo/diff/page.tmpl
@@ -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">