Added video editor display when specified

This commit is contained in:
2018-04-21 13:00:57 +02:00
parent e3e296fc68
commit 277155fdb8
6 changed files with 21 additions and 3 deletions

View File

@ -22,6 +22,17 @@ component AMVPage(amv *arn.AMV, user *arn.User)
.amv-extra-anime.mountable
AnimeGridSmall(amv.ExtraAnime(), user)
if len(amv.VideoEditorIDs) > 0
.widget
if len(amv.VideoEditorIDs) == 1
h3.widget-title.mountable Editor
else
h3.widget-title.mountable Editors
.user-avatars.amv-editors
each editor in amv.VideoEditors()
Avatar(editor)
if len(amv.Links) > 0
.widget
h3.widget-title.mountable Links

View File

@ -43,6 +43,9 @@ const amv-large-width = 854px
width anime-image-small-width
height anime-image-small-height
.amv-editors
justify-content flex-start !important
.amv-links
//