mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 17:07:52 +01:00
Show description on individual milestone view (#12055)
Fixes #12043 Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
0ea479561d
commit
4b66d9ad98
@ -257,6 +257,8 @@ func MilestoneIssuesAndPulls(ctx *context.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
milestone.RenderedContent = string(markdown.Render([]byte(milestone.Content), ctx.Repo.RepoLink, ctx.Repo.Repository.ComposeMetas()))
|
||||||
|
|
||||||
ctx.Data["Title"] = milestone.Name
|
ctx.Data["Title"] = milestone.Name
|
||||||
ctx.Data["Milestone"] = milestone
|
ctx.Data["Milestone"] = milestone
|
||||||
|
|
||||||
|
@ -5,9 +5,11 @@
|
|||||||
<div class="ui three column stackable grid">
|
<div class="ui three column stackable grid">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h3>{{.Milestone.Name}}</h3>
|
<h3>{{.Milestone.Name}}</h3>
|
||||||
|
<div class="content">
|
||||||
|
{{.Milestone.RenderedContent|Str2html}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="column center aligned">
|
<div class="column center aligned">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{if not .Repository.IsArchived}}
|
{{if not .Repository.IsArchived}}
|
||||||
<div class="column right aligned">
|
<div class="column right aligned">
|
||||||
|
Loading…
Reference in New Issue
Block a user