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")
|
a.light-button(href="https://myanimelist.net/character/" + character.GetMapping("myanimelist/character"), target="_blank", rel="noopener")
|
||||||
Icon("external-link")
|
Icon("external-link")
|
||||||
span MAL
|
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")
|
a.light-button(href="/api" + character.Link(), target="_blank")
|
||||||
Icon("code")
|
Icon("code")
|
||||||
|
@ -38,6 +38,7 @@ a
|
|||||||
img
|
img
|
||||||
backface-visibility hidden
|
backface-visibility hidden
|
||||||
color transparent
|
color transparent
|
||||||
|
text-shadow none
|
||||||
|
|
||||||
rt
|
rt
|
||||||
user-select none
|
user-select none
|
||||||
|
Loading…
Reference in New Issue
Block a user