Added another AMV test

This commit is contained in:
Eduard Urbach 2018-04-14 16:43:09 +02:00
parent 1de38a35d5
commit 295216a254
2 changed files with 15 additions and 5 deletions

View File

@ -29,12 +29,19 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks
AnimeRelations(anime, user, false) AnimeRelations(anime, user, false)
AnimeTracks(anime, tracks, user, false) AnimeTracks(anime, tracks, user, false)
if anime.ID == "LbbCcKiig" && user != nil && (user.Role == "editor" || user.Role == "admin") if user != nil && (user.Role == "editor" || user.Role == "admin")
if anime.ID == "LbbCcKiig"
h3.mountable AMVs h3.mountable AMVs
.video-container.mountable .video-container.amv.mountable
video.video(controls="controls", controlsList="nodownload") video.video(controls="controls", controlsList="nodownload")
source(src="/videos/unchained.mp4", type="video/mp4") source(src="/videos/unchained.mp4", type="video/mp4")
if anime.ID == "7VjCpFiiR"
h3.mountable AMVs
.video-container.amv.mountable
video.video(controls="controls", controlsList="nodownload")
source(src="/videos/sunlight.mp4", type="video/mp4")
AnimeEpisodes(anime, episodes, user, false) AnimeEpisodes(anime, episodes, user, false)
component AnimeSideColumn(anime *arn.Anime, friends []*arn.User, listItems map[*arn.User]*arn.AnimeListItem, user *arn.User) component AnimeSideColumn(anime *arn.Anime, friends []*arn.User, listItems map[*arn.User]*arn.AnimeListItem, user *arn.User)

View File

@ -159,6 +159,9 @@
margin-top 0.6rem margin-top 0.6rem
margin-bottom 0.4rem margin-bottom 0.4rem
.amv
//
< 800px < 800px
.anime-rating-categories .anime-rating-categories
vertical vertical