Added mountables
This commit is contained in:
parent
5e32013619
commit
9a9e97f244
@ -1,13 +1,13 @@
|
|||||||
component Calendar(days []*utils.CalendarDay, user *arn.User)
|
component Calendar(days []*utils.CalendarDay, user *arn.User)
|
||||||
h1 Calendar
|
h1.mountable Calendar
|
||||||
|
|
||||||
.week
|
.week
|
||||||
each day in days
|
each day in days
|
||||||
.weekday
|
.weekday
|
||||||
h3.weekday-name= day.Name
|
h3.weekday-name.mountable(data-mountable-type=day.Name)= day.Name
|
||||||
.calendar-entries
|
.calendar-entries
|
||||||
each entry in day.Entries
|
each entry in day.Entries
|
||||||
.calendar-entry
|
.calendar-entry.mountable(data-mountable-type=day.Name)
|
||||||
a.ajax(href=entry.Anime.Link())
|
a.ajax(href=entry.Anime.Link())
|
||||||
.calendar-entry-title= entry.Anime.Title.ByUser(user)
|
.calendar-entry-title= entry.Anime.Title.ByUser(user)
|
||||||
.calendar-entry-info
|
.calendar-entry-info
|
||||||
|
Loading…
Reference in New Issue
Block a user