Added AMV test for editors
This commit is contained in:
parent
aaef9eecf7
commit
8859d094bd
@ -28,6 +28,12 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks
|
|||||||
AnimeCharacters(anime, user, false)
|
AnimeCharacters(anime, user, false)
|
||||||
AnimeRelations(anime, user, false)
|
AnimeRelations(anime, user, false)
|
||||||
AnimeTracks(anime, tracks, 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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user