Add /milestones endpoint (#8733)

Create a /milestones endpoint which basically serves as a dashboard view for milestones, very similar to the /issues or /pulls page.

Closes #8232
This commit is contained in:
Brad Albright authored and zeripath committed 2019-12-15 14:20:08 +00:00
1 parent 7cc16740a5
commit f6b29012e0
14 files changed
+568 -7

No files matched your search

+1
View File
@@ -334,6 +334,7 @@ func Contexter() macaron.Handler {
ctx.Data["IsLandingPageOrganizations"] = setting.LandingPageURL == setting.LandingPageOrganizations
ctx.Data["ShowRegistrationButton"] = setting.Service.ShowRegistrationButton
ctx.Data["ShowMilestonesDashboardPage"] = setting.Service.ShowMilestonesDashboardPage
ctx.Data["ShowFooterBranding"] = setting.ShowFooterBranding
ctx.Data["ShowFooterVersion"] = setting.ShowFooterVersion