From 18f6c0ace019bff7c378ea32c1771881b42db947 Mon Sep 17 00:00:00 2001 From: JOHNMWASHUMA Date: Mon, 28 Oct 2024 16:04:36 +0300 Subject: [PATCH] Bring back number of candidates and ppt options --- .../apps/tally/static/js/download_results.js | 2 +- .../tally/templates/reports/form_results.html | 21 ++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/tally_ho/apps/tally/static/js/download_results.js b/tally_ho/apps/tally/static/js/download_results.js index 38e7b08dd..7dd4339c4 100644 --- a/tally_ho/apps/tally/static/js/download_results.js +++ b/tally_ho/apps/tally/static/js/download_results.js @@ -25,7 +25,7 @@ $(document).ready(function () { success: (data) => { downloadResults(data, `results_${Date.now()}.json`); $("#export-results").removeAttr("disabled"); - $("#export-results").html("Export Results in JSON"); + $("#export-results").html("All Results JSON Export"); }, }); }); diff --git a/tally_ho/apps/tally/templates/reports/form_results.html b/tally_ho/apps/tally/templates/reports/form_results.html index eb3e88d5b..e2674ba4e 100644 --- a/tally_ho/apps/tally/templates/reports/form_results.html +++ b/tally_ho/apps/tally/templates/reports/form_results.html @@ -250,9 +250,25 @@

{% trans 'Candidate Results' %}

-
+
- + + +
+

{% trans 'Number of leading candidates:' %}

+ +
+
+
+
+ + +
+
@@ -364,4 +380,3 @@

{% trans 'Candidate Results' %}

{% endblock %} -