This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Show description on individual milestone view (
#12055
)
Fixes
#12043
Co-authored-by: Lauris BH <lauris@nix.lv>
tags/v1.13.0-rc1
mrsdizzie
GitHub
5 years ago
parent
1593632f8c
commit
2a0b9b1aab
2 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
routers/repo/milestone.go
+3
-1
templates/repo/issue/milestone_issues.tmpl
+ 2
- 0
routers/repo/milestone.go
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
+ 3
- 1
templates/repo/issue/milestone_issues.tmpl
View File
@@ -5,9 +5,11 @@
<div class="ui three column stackable grid">
<div class="column">
<h3>{{.Milestone.Name}}</h3>
<div class="content">
{{.Milestone.RenderedContent|Str2html}}
</div>
</div>
<div class="column center aligned">
</div>
{{if not .Repository.IsArchived}}
<div class="column right aligned">
Write
Preview
Loading…
Cancel
Save