forked from forgejo/forgejo
Remove RequireHighlightJS
field, update plantuml example. (#19615)
This commit is contained in:
parent
5a75a5463e
commit
7b089c465d
11 changed files with 10 additions and 28 deletions
|
@ -47,8 +47,6 @@ func CherryPick(ctx *context.Context) {
|
|||
ctx.Data["commit_message"] = splits[1]
|
||||
}
|
||||
|
||||
ctx.Data["RequireHighlightJS"] = true
|
||||
|
||||
canCommit := renderCommitRights(ctx)
|
||||
ctx.Data["TreePath"] = ""
|
||||
|
||||
|
@ -77,7 +75,6 @@ func CherryPickPost(ctx *context.Context) {
|
|||
ctx.Data["CherryPickType"] = "cherry-pick"
|
||||
}
|
||||
|
||||
ctx.Data["RequireHighlightJS"] = true
|
||||
canCommit := renderCommitRights(ctx)
|
||||
branchName := ctx.Repo.BranchName
|
||||
if form.CommitChoice == frmCommitChoiceNewBranch {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue