19 lines
810 B
Plaintext
Raw Normal View History

2017-06-27 21:33:21 +00:00
component SoundTrack(track *arn.SoundTrack)
2017-06-27 22:16:45 +00:00
SoundTrackMedia(track, track.Media[0])
component SoundTrackAllMedia(track *arn.SoundTrack)
each media in track.Media
SoundTrackMedia(track, media)
component SoundTrackMedia(track *arn.SoundTrack, media *arn.ExternalMedia)
2017-06-27 21:33:21 +00:00
.sound-track.mountable(id=track.ID)
.sound-track-content
a.sound-track-anime-link.ajax(href="/anime/" + track.MainAnime().ID)
img.sound-track-anime-image.lazy(data-src=track.MainAnime().Image.Small, alt=track.MainAnime().Title.Canonical, title=track.MainAnime().Title.Canonical)
2017-06-28 21:28:55 +00:00
iframe.lazy(data-src=media.EmbedLink(), allowfullscreen="allowfullscreen")
2017-06-27 21:33:21 +00:00
.sound-track-footer
2017-06-27 22:16:45 +00:00
a.ajax(href=track.Link())
Icon("music")
2017-06-27 21:33:21 +00:00
span posted by
2017-06-27 22:16:45 +00:00
a.ajax(href=track.CreatedByUser().Link())= track.CreatedByUser().Nick + " "