Basic calendar

This commit is contained in:
2017-11-22 11:51:59 +01:00
parent 3ccf385ad4
commit 23f66003b1
5 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,10 @@
component Calendar(days []*utils.CalendarDay, user *arn.User)
h1 Calendar
.week
each day in days
.weekday
h3.weekday-name= day.Name
ol
each entry in day.Entries
li= entry.Anime.Title.ByUser(user) + " (Ep: " + strconv.Itoa(entry.Episode.Number) + ")"