diff --git a/web/template/tu_details.php b/web/template/tu_details.php
index 4f291f01..61abab79 100644
--- a/web/template/tu_details.php
+++ b/web/template/tu_details.php
@@ -1,3 +1,12 @@
+
= __("Proposal Details") ?>
@@ -37,10 +46,10 @@
= __('Participation') ?> |
- = $row['Yes'] ?> |
- = $row['No'] ?> |
- = $row['Abstain'] ?> |
- = ($row['Yes'] + $row['No'] + $row['Abstain']) ?> |
+ = $yes ?> |
+ = $no ?> |
+ = $abstain ?> |
+ = $total ?> |
= __("No") ?>
@@ -48,8 +57,8 @@
= __("Yes") ?>
|
- 0): ?>
- = number_format(($row['Yes'] + $row['No'] + $row['Abstain']) / $row['ActiveTUs'] * 100, 2) ?>% |
+ 0): ?>
+ = number_format($participation * 100, 2) ?>% |
= __("unknown") ?> |