summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-03-29 10:33:43 +0200
committerYorhel <git@yorhel.nl>2021-03-29 10:33:46 +0200
commite7f60a2b333dfc127681dc256828539eba160760 (patch)
tree3ece76c915509420d71d57ba4d4adc46bc6c2209 /elm
parentd7ee9dc7233fe667d7aa61e2434d4065ee074b7a (diff)
elm/CharEdit: Fix display of trait status
Fixes https://vndb.org/t2520.549
Diffstat (limited to 'elm')
-rw-r--r--elm/CharEdit.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/CharEdit.elm b/elm/CharEdit.elm
index 60517c72..3f9118b0 100644
--- a/elm/CharEdit.elm
+++ b/elm/CharEdit.elm
@@ -412,7 +412,7 @@ view model =
[ td [ style "padding" "0 0 0 10px", style "text-decoration" (if t.applicable && not t.hidden then "none" else "line-through") ]
[ Maybe.withDefault (text "") <| Maybe.map (\g -> b [ class "grayedout" ] [ text <| g ++ " / " ]) t.group
, a [ href <| "/" ++ t.tid ] [ text t.name ]
- , if t.hidden && t.locked then b [ class "standout" ] [ text " (awaiting moderation)" ]
+ , if t.hidden && not t.locked then b [ class "standout" ] [ text " (awaiting moderation)" ]
else if t.hidden then b [ class "standout" ] [ text " (deleted)" ]
else if not t.applicable then b [ class "standout" ] [ text " (not applicable)" ]
else text ""