From 8859d094bddb8177ab1b6147e90c79fbbe3c45a7 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 14 Apr 2018 02:45:29 +0200 Subject: [PATCH] Added AMV test for editors --- pages/anime/anime.pixy | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/anime/anime.pixy b/pages/anime/anime.pixy index 3dde638f..e54768a7 100644 --- a/pages/anime/anime.pixy +++ b/pages/anime/anime.pixy @@ -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)