Added mountables

This commit is contained in:
Eduard Urbach 2017-11-22 12:39:36 +01:00
parent 5e32013619
commit 9a9e97f244

View File

@ -1,13 +1,13 @@
component Calendar(days []*utils.CalendarDay, user *arn.User)
h1 Calendar
h1.mountable Calendar
.week
each day in days
.weekday
h3.weekday-name= day.Name
h3.weekday-name.mountable(data-mountable-type=day.Name)= day.Name
.calendar-entries
each entry in day.Entries
.calendar-entry
.calendar-entry.mountable(data-mountable-type=day.Name)
a.ajax(href=entry.Anime.Link())
.calendar-entry-title= entry.Anime.Title.ByUser(user)
.calendar-entry-info