From b554103c3218de56734f0cd179b124f6b12c0248 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:03:23 +0100 Subject: show current voting score --- play.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 08e1510..4a3506b 100644 --- a/play.js +++ b/play.js @@ -576,12 +576,15 @@ function on_log(text) { // eslint-disable-line no-unused-vars return p } + function support_info() { - return `${view.support_buttons}\u{2b50} ${view.support_hand}\u{1f3b4}` + // TODO show the # of green_checks and red_xs instead of the congress circles when the 19th has passed instead + return `${view.support_buttons}\u{2b50} ${view.support_hand}\u{1f3b4} ${view.green_checks} \u{2713}` } function opposition_info() { - return `${view.opposition_buttons}\u{2b50} ${view.opposition_hand}\u{1f3b4}` + // TODO show the # of green_checks and red_xs instead of the congress circles when the 19th has passed instead + return `${view.opposition_buttons}\u{2b50} ${view.opposition_hand}\u{1f3b4} ${view.red_xs} \u{2717}` } function layout_cubes(list, xorig, yorig) { -- cgit v1.2.3