Episode left and right arrow #153

Requires styling, other things are "done"
This commit is contained in:
Jarmo Riikonen 2018-07-06 19:14:44 +03:00
parent fe1f771968
commit e9d98b3e75

View File

@ -8,6 +8,14 @@ component AnimeEpisode(anime *arn.Anime, episode *arn.AnimeEpisode, user *arn.Us
h3.episode-view-number= "Episode " + strconv.Itoa(episode.Number) h3.episode-view-number= "Episode " + strconv.Itoa(episode.Number)
//- if episode.Number - 1 > 0
//- a.button(href=anime.Link() + "/episode/" + strconv.Itoa(episode.Number - 1))
//- Icon("chevron-left")
//- if episode.Number + 1 < anime.EpisodeCount
//- a.button(href=anime.Link() + "/episode/" + strconv.Itoa(episode.Number + 1))
//- Icon("chevron-right")
if episode.Title.Japanese != "" if episode.Title.Japanese != ""
.episode-view-title .episode-view-title
Japanese(episode.Title.Japanese) Japanese(episode.Title.Japanese)