11 lines
438 B
Plaintext

component UserRegistrations(total int, years []int, yearInfo map[int]utils.YearRegistrations)
AdminTabs
h1.mountable= fmt.Sprintf("User registrations (%d)", total)
for _, year := range years
h3.mountable= year
h4.mountable= strconv.Itoa(yearInfo[year].Total) + " registrations"
for month := 1; month <= 12; month++
p.mountable
strong= time.Month(month).String() + ": "
span= strconv.Itoa(yearInfo[year].Months[month])