Add task completion toggle, custom task templates, and umlaut UI updates
This commit is contained in:
@@ -59,10 +59,31 @@ type CropStep struct {
|
||||
Title string
|
||||
}
|
||||
|
||||
type CustomTaskTemplate struct {
|
||||
ID int64
|
||||
Title string
|
||||
}
|
||||
|
||||
type CustomTask struct {
|
||||
ID int64
|
||||
TemplateID sql.NullInt64
|
||||
Title string
|
||||
Month int
|
||||
Day int
|
||||
YearOffset int
|
||||
TargetName string
|
||||
Notes string
|
||||
}
|
||||
|
||||
type Task struct {
|
||||
UID string
|
||||
Type string
|
||||
Field string
|
||||
Message string
|
||||
Month int
|
||||
Day int
|
||||
YearOffset int
|
||||
Completed bool
|
||||
SortOrder int
|
||||
}
|
||||
|
||||
@@ -123,6 +144,8 @@ type PlanningPage struct {
|
||||
Crops []Crop
|
||||
Plans []Plan
|
||||
PlanningTargets []PlanningTarget
|
||||
TaskTemplates []CustomTaskTemplate
|
||||
CustomTasks []CustomTask
|
||||
}
|
||||
|
||||
type GeneralPage struct {
|
||||
|
||||
Reference in New Issue
Block a user