fix: rename ShowBuildPrompt to ShowBuildTracker
This commit is contained in:
parent
c389fac78a
commit
49d7f31514
|
|
@ -30,7 +30,7 @@ type DossierSection struct {
|
|||
CustomHTML string // for completely custom sections (privacy)
|
||||
Searchable bool // show search/filter box in header
|
||||
// Checkin-specific: show "build your profile" prompt
|
||||
ShowBuildPrompt bool // true if trackable categories are empty
|
||||
ShowBuildTracker bool // true if trackable categories are empty
|
||||
TrackableStats map[string]int // counts for trackable categories
|
||||
TrackerButtons []TrackerButton // buttons for empty trackable categories
|
||||
}
|
||||
|
|
@ -147,7 +147,7 @@ func BuildDossierSections(targetID, targetHex string, target *lib.Dossier, p *li
|
|||
section.Summary = T("checkin_summary")
|
||||
} else {
|
||||
// Show build profile prompt
|
||||
section.ShowBuildPrompt = true
|
||||
section.ShowBuildTracker = true
|
||||
section.Summary = T("checkin_build_profile")
|
||||
promptsURL := fmt.Sprintf("/dossier/%s/prompts", targetHex)
|
||||
section.TrackerButtons = []TrackerButton{
|
||||
|
|
|
|||
Loading…
Reference in New Issue