mirror of
https://github.com/gogs/gogs.git
synced 2025-05-24 16:30:51 +00:00
routes/repo/issue: implement issue pre-filling (#5521)
Signed-off-by: Charles Kenney <charlesc.kenney@gmail.com>
This commit is contained in:
parent
38e8ccac92
commit
6c90d12a0c
@ -345,6 +345,8 @@ func NewIssue(c *context.Context) {
|
||||
c.Data["PageIsIssueList"] = true
|
||||
c.Data["RequireHighlightJS"] = true
|
||||
c.Data["RequireSimpleMDE"] = true
|
||||
c.Data["title"] = c.Query("title")
|
||||
c.Data["content"] = c.Query("content")
|
||||
setTemplateIfExists(c, ISSUE_TEMPLATE_KEY, IssueTemplateCandidates)
|
||||
renderAttachmentSettings(c)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user