19 lines
826 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)
2017-07-11 15:18:19 +00:00
img.sound-track-anime-image.lazy(src="", data-src=track.MainAnime().Image.Small, alt=track.MainAnime().Title.Canonical, title=track.MainAnime().Title.Canonical)
2017-06-27 21:33:21 +00:00
2017-07-11 15:18:19 +00:00
iframe.lazy(src="", 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 + " "