Not editor restricted anymore
This commit is contained in:
parent
f0bc78c8a3
commit
854833c586
@ -29,21 +29,25 @@ 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
|
|
||||||
|
|
||||||
.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")
|
||||||
|
|
||||||
.amv.mountable
|
if anime.ID == "7VjCpFiiR"
|
||||||
.video-container
|
section.anime-section.mountable
|
||||||
video.video
|
h3.anime-section-name AMVs
|
||||||
source(src="/videos/sunlight.webm", type="video/webm")
|
|
||||||
|
.amvs
|
||||||
|
.amv.mountable
|
||||||
|
.video-container
|
||||||
|
video.video(controls="controls", controlsList="nodownload")
|
||||||
|
source(src="/videos/sunlight.webm", type="video/webm")
|
||||||
|
|
||||||
AnimeEpisodes(anime, episodes, user, false)
|
AnimeEpisodes(anime, episodes, user, false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user