Added editor hint for missing MAL IDs
This commit is contained in:
parent
50b98f0ed2
commit
36f14cd0ba
@ -90,6 +90,10 @@ component CharacterDetails(character *arn.Character, characterAnime []*arn.Anime
|
||||
a.light-button(href="https://myanimelist.net/character/" + character.GetMapping("myanimelist/character"), target="_blank", rel="noopener")
|
||||
Icon("external-link")
|
||||
span MAL
|
||||
else if user != nil && (user.Role == "editor" || user.Role == "admin")
|
||||
a.light-button(href="https://myanimelist.net/character.php?q=" + character.Name.Canonical, target="_blank", rel="noopener")
|
||||
Icon("exclamation-triangle")
|
||||
span Error: No MAL ID
|
||||
|
||||
a.light-button(href="/api" + character.Link(), target="_blank")
|
||||
Icon("code")
|
||||
|
@ -38,6 +38,7 @@ a
|
||||
img
|
||||
backface-visibility hidden
|
||||
color transparent
|
||||
text-shadow none
|
||||
|
||||
rt
|
||||
user-select none
|
||||
|
Loading…
Reference in New Issue
Block a user