diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-12 21:51:22 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-12 21:51:22 +0800 |
commit | 1769bb2f26aa26ae7476cef8eb97272f44aa28b4 (patch) | |
tree | c1917d448a5740482978519a69738a01cc135e4d /routers | |
parent | 3fe87cba85de888a00edbf4c4d2a182910e1ddec (diff) | |
download | gitea-1769bb2f26aa26ae7476cef8eb97272f44aa28b4.tar.gz gitea-1769bb2f26aa26ae7476cef8eb97272f44aa28b4.zip |
add milestone edit ui
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/issue.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 6218959585..3ef6236aac 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -498,3 +498,12 @@ func NewMilestones(ctx *middleware.Context) { ctx.HTML(200, "issue/milestone_new") } + +func UpdateMilestones(ctx *middleware.Context) { + ctx.Data["Title"] = "Update Milestones" + ctx.Data["IsRepoToolbarIssues"] = true + ctx.Data["IsRepoToolbarIssuesList"] = true + + ctx.HTML(200, "issue/milestone_edit") +} + |