1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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.
This commit is contained in:
harry
2017-12-11 14:03:04 +08:00
committed by Lunny Xiao
parent f2e20c81b6
commit 03ec35ed79
7 changed files with 76 additions and 0 deletions

View File

@@ -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)