From 75aff60c903c2c5ab92d75c9f067d6815f3daa2e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 10 Aug 2015 21:47:23 +0800 Subject: finish create issue with milestone and assignee --- templates/repo/issue/list.tmpl | 11 +++++++---- templates/repo/issue/new_form.tmpl | 20 +++++++++++++------- templates/user/issues.tmpl | 2 +- 3 files changed, 21 insertions(+), 12 deletions(-) (limited to 'templates') diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index fa3f660f..640112e4 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -87,11 +87,14 @@
{{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.Name|Str2html}}
{{if .Milestone}}
- {{with .Milestone}}
-
- {{.Name}}
+
+ {{.Milestone.Name}}
+
+ {{end}}
+ {{if .Assignee}}
+
+
- {{end}}
{{end}}