Show description on individual milestone view (#12055)

Fixes #12043

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
mrsdizzie 2020-06-25 21:21:13 -04:00 committed by GitHub
parent 0ea479561d
commit 4b66d9ad98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -257,6 +257,8 @@ func MilestoneIssuesAndPulls(ctx *context.Context) {
return
}
milestone.RenderedContent = string(markdown.Render([]byte(milestone.Content), ctx.Repo.RepoLink, ctx.Repo.Repository.ComposeMetas()))
ctx.Data["Title"] = milestone.Name
ctx.Data["Milestone"] = milestone