summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-28 12:03:23 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-28 12:03:23 +0100
commitb554103c3218de56734f0cd179b124f6b12c0248 (patch)
tree3f86263379a32a0d3ae34612a3adae9b33368c72 /play.js
parentf0a688a54b64f3632b07530b5b16c296d8933789 (diff)
downloadvotes-for-women-b554103c3218de56734f0cd179b124f6b12c0248.tar.gz
show current voting score
Diffstat (limited to 'play.js')
-rw-r--r--play.js7
1 files changed, 5 insertions, 2 deletions
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) {