summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-29 10:24:42 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-29 10:24:42 -0400
commitffa59739b609ce00ce21344531f27d4003dfc688 (patch)
tree726c38beca110de0ce8b226ce2e7f7a8e19917de /models/issue.go
parent2c073afbec4b9845e8ddd10a4d3f469874fdcd37 (diff)
downloadgitea-ffa59739b609ce00ce21344531f27d4003dfc688.tar.gz
gitea-ffa59739b609ce00ce21344531f27d4003dfc688.zip
Add edit issue
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go35
1 files changed, 18 insertions, 17 deletions
diff --git a/models/issue.go b/models/issue.go
index 39558ae225..9fd1b905a5 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -18,23 +18,24 @@ var (
// Issue represents an issue or pull request of repository.
type Issue struct {
- Id int64
- Index int64 // Index in one repository.
- Name string
- RepoId int64 `xorm:"index"`
- Repo *Repository `xorm:"-"`
- PosterId int64
- Poster *User `xorm:"-"`
- MilestoneId int64
- AssigneeId int64
- IsPull bool // Indicates whether is a pull request or not.
- IsClosed bool
- Labels string `xorm:"TEXT"`
- Mentions string `xorm:"TEXT"`
- Content string `xorm:"TEXT"`
- NumComments int
- Created time.Time `xorm:"created"`
- Updated time.Time `xorm:"updated"`
+ Id int64
+ Index int64 // Index in one repository.
+ Name string
+ RepoId int64 `xorm:"index"`
+ Repo *Repository `xorm:"-"`
+ PosterId int64
+ Poster *User `xorm:"-"`
+ MilestoneId int64
+ AssigneeId int64
+ IsPull bool // Indicates whether is a pull request or not.
+ IsClosed bool
+ Labels string `xorm:"TEXT"`
+ Mentions string `xorm:"TEXT"`
+ Content string `xorm:"TEXT"`
+ RenderedContent string `xorm:"-"`
+ NumComments int
+ Created time.Time `xorm:"created"`
+ Updated time.Time `xorm:"updated"`
}
// CreateIssue creates new issue for repository.