summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
authorharry <harryzhxu@gmail.com>2017-12-11 14:03:04 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-12-11 14:03:04 +0800
commit03ec35ed79e38b907de8812e3f7cccc422cb5937 (patch)
tree8a430543964c8defd61b10fa099ca865b60272e3 /routers/repo/pull.go
parentf2e20c81b66e6a937ecdb686f8d1011371433365 (diff)
downloadgitea-03ec35ed79e38b907de8812e3f7cccc422cb5937.tar.gz
gitea-03ec35ed79e38b907de8812e3f7cccc422cb5937.zip
Mention completion for issue editor. (#3136)
* new issue mention * Mention completion on new issue and view issue page. * Code format. * Require tribute in pull request page.
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index 284cb2d2d5..c2f0a07fe7 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -701,6 +701,7 @@ func CompareAndPullRequest(ctx *context.Context) {
ctx.Data["PageIsComparePull"] = true
ctx.Data["IsDiffCompare"] = true
ctx.Data["RequireHighlightJS"] = true
+ ctx.Data["RequireTribute"] = true
setTemplateIfExists(ctx, pullRequestTemplateKey, pullRequestTemplateCandidates)
renderAttachmentSettings(ctx)