Add filter facets, new-to-Helios flag, and original-style student cards
This commit is contained in:
@@ -50,6 +50,7 @@ func LoadModel(source data.Source) (*Model, error) {
|
||||
IsStaff: row["Is Staff?"] == "TRUE",
|
||||
IsParent: row["Is Parent?"] == "TRUE",
|
||||
IsStudent: row["Is Student?"] == "TRUE",
|
||||
IsNew: row["Is Totally New"] == "TRUE",
|
||||
Pronouns: row["Pronouns"],
|
||||
Facts: row["Facts"],
|
||||
PronunciationURL: blobURL("people", email, "pronunciation", row["Pronunciation"]),
|
||||
|
||||
@@ -8,6 +8,7 @@ type Person struct {
|
||||
IsStaff bool `json:"isStaff"`
|
||||
IsParent bool `json:"isParent"`
|
||||
IsStudent bool `json:"isStudent"`
|
||||
IsNew bool `json:"isNew,omitempty"`
|
||||
Pronouns string `json:"pronouns,omitempty"`
|
||||
Facts string `json:"facts,omitempty"`
|
||||
PronunciationURL string `json:"pronunciationUrl,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user