#1821 add actions for close and reopen issues

This commit is contained in:
Unknwon 2016-02-22 12:40:00 -05:00
parent 90fab0be6b
commit 912f7b51e9
12 changed files with 68 additions and 46 deletions

View file

@ -918,7 +918,7 @@ func NewComment(ctx *middleware.Context, form auth.CreateCommentForm) {
if err = issue.ChangeStatus(ctx.User, form.Status == "close"); err != nil {
log.Error(4, "ChangeStatus: %v", err)
} else {
log.Trace("Issue[%d] status changed to closed: %v", issue.ID, issue.IsClosed)
log.Trace("Issue [%d] status changed to closed: %v", issue.ID, issue.IsClosed)
}
}
}