X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=empathy%2Fempathy.jsx;h=e887b1b8b9b1af33ddc76aa751613f66a2253205;hb=49d80bcfff46b8d9efa846decf9415e43ea354f5;hp=2c70bc387f6d23cfbed01144fea26f3a142df1c3;hpb=e41040d89d5aaceabe7f5bb7a12230e2079ffd7e;p=lmno.games diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 2c70bc3..e887b1b 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -569,30 +569,40 @@ class Ambiguities extends React.PureComponent { ); } + let still_waiting = null; + const judging_players = Object.keys(this.props.players_judging); + if (judging_players.length) { + still_waiting = [ +
+ Still waiting for the following player + {judging_players.length > 1 ? 's' : '' } + : +
, +- The following players have completed judging: + The following players have completed judging:{' '} {[...this.props.players_judged].join(', ')}
-- Still waiting for the following players: -
-- The following players have submitted their answers: + The following players have submitted their answers:{' '} {[...this.props.players_answered].join(', ')}
-- Still waiting for the following players: -
-Remember, you're trying to match your answers with what the other players submit. - Give {this.props.prompt.items} answers for the following prompt: + Give {this.props.prompt.items} answer + {this.props.prompt.items > 1 ? 's' : ''} for the following prompt: