diff --git a/public/templates/bootstrap/dashboard/round_statistics/pplns/shares.tpl b/public/templates/bootstrap/dashboard/round_statistics/pplns/shares.tpl index 0426b21c..20b02131 100644 --- a/public/templates/bootstrap/dashboard/round_statistics/pplns/shares.tpl +++ b/public/templates/bootstrap/dashboard/round_statistics/pplns/shares.tpl @@ -9,12 +9,12 @@
Valid
-
+
{$GLOBAL.userdata.shares.valid|number_format}
-
+
{$GLOBAL.roundshares.valid|number_format}
@@ -22,12 +22,12 @@
Invalid
-
+
{$GLOBAL.roundshares.invalid|number_format}
-
+
{$GLOBAL.roundshares.invalid|number_format}
@@ -35,12 +35,12 @@
Efficiency
-
+
{if $GLOBAL.userdata.shares.valid > 0}{(100 - ($GLOBAL.userdata.shares.invalid / ($GLOBAL.userdata.shares.valid + $GLOBAL.userdata.shares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}
-
+
{if $GLOBAL.roundshares.valid > 0}{(100 - ($GLOBAL.roundshares.invalid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}
diff --git a/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl b/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl index 0426b21c..20b02131 100644 --- a/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl +++ b/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl @@ -9,12 +9,12 @@
Valid
-
+
{$GLOBAL.userdata.shares.valid|number_format}
-
+
{$GLOBAL.roundshares.valid|number_format}
@@ -22,12 +22,12 @@
Invalid
-
+
{$GLOBAL.roundshares.invalid|number_format}
-
+
{$GLOBAL.roundshares.invalid|number_format}
@@ -35,12 +35,12 @@
Efficiency
-
+
{if $GLOBAL.userdata.shares.valid > 0}{(100 - ($GLOBAL.userdata.shares.invalid / ($GLOBAL.userdata.shares.valid + $GLOBAL.userdata.shares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}
-
+
{if $GLOBAL.roundshares.valid > 0}{(100 - ($GLOBAL.roundshares.invalid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}