Documentation ¶
Index ¶
Constants ¶
View Source
const ASSIGN_CASE int = 0
These are the types of activities
View Source
const ASSIGN_SEQUENCE int = 1
View Source
const CREATE_CASE int = 2
View Source
const CREATE_SEQUENCE int = 3
View Source
const PROTOCOL_CASE int = 4
View Source
const PROTOCOL_SEQUENCE int = 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { // Automated Xorm Fields -----------| Id int64 CreatedAt time.Time `xorm:"created"` // Foreign Keys --------------------| ProjectID int64 AuthorId string ActivityItemId int64 ActivityType int Author *user.User `xorm:"-"` Project *project.Project `xorm:"-"` ActivityItem ActivityItem `xorm:"-"` }
type ActivityEntities ¶
type ActivityItem ¶
type ActivityItem interface { // Get rendered item template makes the ActivityItem execute it's template on itself and return the resulting string buffer. // This way we can have every Item decide how it looks by having its own template. RenderItemTemplate(activity *Activity, lang string) (template.HTML, error) }
Click to show internal directories.
Click to hide internal directories.