Not editor restricted anymore

This commit is contained in:
Eduard Urbach 2018-04-14 20:49:59 +02:00
parent f0bc78c8a3
commit 854833c586

View File

@ -29,7 +29,6 @@ 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 user != nil && (user.Role == "editor" || user.Role == "admin")
if anime.ID == "LbbCcKiig" if anime.ID == "LbbCcKiig"
section.anime-section.mountable section.anime-section.mountable
h3.anime-section-name AMVs h3.anime-section-name AMVs
@ -37,12 +36,17 @@ component AnimeMainColumn(anime *arn.Anime, listItem *arn.AnimeListItem, tracks
.amvs .amvs
.amv.mountable .amv.mountable
.video-container .video-container
video.video video.video(controls="controls", controlsList="nodownload")
source(src="/videos/unchained.webm", type="video/webm") source(src="/videos/unchained.webm", type="video/webm")
if anime.ID == "7VjCpFiiR"
section.anime-section.mountable
h3.anime-section-name AMVs
.amvs
.amv.mountable .amv.mountable
.video-container .video-container
video.video video.video(controls="controls", controlsList="nodownload")
source(src="/videos/sunlight.webm", type="video/webm") source(src="/videos/sunlight.webm", type="video/webm")
AnimeEpisodes(anime, episodes, user, false) AnimeEpisodes(anime, episodes, user, false)