summaryrefslogtreecommitdiffstats
path: root/routers/repo/blame.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-05-05 23:51:49 +0200
committerGitHub <noreply@github.com>2020-05-05 22:51:49 +0100
commita1f11a05e900f3d1130729b2095dbf1b3037658e (patch)
treef744bdc675bb34794147c95401d3b2753580b85b /routers/repo/blame.go
parentd9de58beee300b77156057713e3c4d28176d9dc0 (diff)
downloadgitea-a1f11a05e900f3d1130729b2095dbf1b3037658e.tar.gz
gitea-a1f11a05e900f3d1130729b2095dbf1b3037658e.zip
Load Repo Topics on blame view (#11307)
Fix #11280
Diffstat (limited to 'routers/repo/blame.go')
-rw-r--r--routers/repo/blame.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/routers/repo/blame.go b/routers/repo/blame.go
index beed59ea97..00ef9a99ea 100644
--- a/routers/repo/blame.go
+++ b/routers/repo/blame.go
@@ -194,6 +194,12 @@ func RefBlame(ctx *context.Context) {
commitNames[c.ID.String()] = c
}
+ // Get Topics of this repo
+ renderRepoTopics(ctx)
+ if ctx.Written() {
+ return
+ }
+
renderBlame(ctx, blameParts, commitNames)
ctx.HTML(200, tplBlame)