diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-05-05 15:53:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 10:53:38 +0300 |
commit | 7b089c465d9f851454be91ca209ab26782648a45 (patch) | |
tree | dee38550f07722136028d173ab8a6cdef1546b50 /routers/web/repo/issue.go | |
parent | 5a75a5463e647e6783a973650d3306978ce56c57 (diff) | |
download | gitea-7b089c465d9f851454be91ca209ab26782648a45.tar.gz gitea-7b089c465d9f851454be91ca209ab26782648a45.zip |
Remove `RequireHighlightJS` field, update plantuml example. (#19615)
Diffstat (limited to 'routers/web/repo/issue.go')
-rw-r--r-- | routers/web/repo/issue.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index cf919e0c32..d905c075e3 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -794,7 +794,6 @@ func NewIssue(ctx *context.Context) { ctx.Data["Title"] = ctx.Tr("repo.issues.new") ctx.Data["PageIsIssueList"] = true ctx.Data["NewIssueChooseTemplate"] = len(ctx.IssueTemplatesFromDefaultBranch()) > 0 - ctx.Data["RequireHighlightJS"] = true ctx.Data["RequireTribute"] = true ctx.Data["PullRequestWorkInProgressPrefixes"] = setting.Repository.PullRequest.WorkInProgressPrefixes title := ctx.FormString("title") @@ -988,7 +987,6 @@ func NewIssuePost(ctx *context.Context) { ctx.Data["Title"] = ctx.Tr("repo.issues.new") ctx.Data["PageIsIssueList"] = true ctx.Data["NewIssueChooseTemplate"] = len(ctx.IssueTemplatesFromDefaultBranch()) > 0 - ctx.Data["RequireHighlightJS"] = true ctx.Data["PullRequestWorkInProgressPrefixes"] = setting.Repository.PullRequest.WorkInProgressPrefixes ctx.Data["IsAttachmentEnabled"] = setting.Attachment.Enabled upload.AddUploadContext(ctx, "comment") @@ -1177,7 +1175,6 @@ func ViewIssue(ctx *context.Context) { ctx.Data["IssueType"] = "all" } - ctx.Data["RequireHighlightJS"] = true ctx.Data["RequireTribute"] = true ctx.Data["IsProjectsEnabled"] = ctx.Repo.CanRead(unit.TypeProjects) ctx.Data["IsAttachmentEnabled"] = setting.Attachment.Enabled |