Added AMV test for editors

This commit is contained in:
Eduard Urbach 2018-04-14 02:45:29 +02:00
parent aaef9eecf7
commit 8859d094bd

View File

@ -28,6 +28,12 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks
AnimeCharacters(anime, user, false)
AnimeRelations(anime, user, false)
AnimeTracks(anime, tracks, user, false)
if arn.IsDevelopment() && anime.ID == "LbbCcKiig" && user != nil && (user.Role == "editor" || user.Role == "admin")
h3.mountable AMVs
video.mountable(controls="controls", controlsList="nodownload")
source(src="https://notify.moe/videos/unchained.mkv", type="video/mp4")
AnimeEpisodes(anime, episodes, user, false)
component AnimeSideColumn(anime *arn.Anime, friends []*arn.User, listItems map[*arn.User]*arn.AnimeListItem, user *arn.User)