2017-11-22 10:51:59 +00:00
|
|
|
component Calendar(days []*utils.CalendarDay, user *arn.User)
|
|
|
|
h1 Calendar
|
|
|
|
|
|
|
|
.week
|
|
|
|
each day in days
|
|
|
|
.weekday
|
|
|
|
h3.weekday-name= day.Name
|
2017-11-22 11:04:04 +00:00
|
|
|
.calendar-entries
|
2017-11-22 10:51:59 +00:00
|
|
|
each entry in day.Entries
|
2017-11-22 11:04:04 +00:00
|
|
|
.calendar-entry
|
|
|
|
.calendar-entry-title= entry.Anime.Title.ByUser(user)
|
|
|
|
.calendar-entry-episode= "Ep: " + strconv.Itoa(entry.Episode.Number)
|