11 lines
438 B
Plaintext
Raw Normal View History

2018-04-16 13:21:42 +00:00
component UserRegistrations(total int, years []int, yearInfo map[int]utils.YearRegistrations)
2018-04-16 13:17:23 +00:00
AdminTabs
2018-04-16 13:21:42 +00:00
h1.mountable= fmt.Sprintf("User registrations (%d)", total)
2018-04-16 13:17:23 +00:00
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])