From 0bd16062075e6d5f344ad8750d5b3c7965442e28 Mon Sep 17 00:00:00 2001 From: Yefta Sutanto Date: Thu, 30 Jan 2014 00:17:20 +0700 Subject: [PATCH] Update sidebar_prop.tpl Fixing "Your Invalid" percentage calculation --- public/templates/mobile/global/sidebar_prop.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/mobile/global/sidebar_prop.tpl b/public/templates/mobile/global/sidebar_prop.tpl index 5ab614a2..50663dcb 100644 --- a/public/templates/mobile/global/sidebar_prop.tpl +++ b/public/templates/mobile/global/sidebar_prop.tpl @@ -29,7 +29,7 @@ Your Invalid - {$GLOBAL.userdata.shares.invalid|number_format}{if $GLOBAL.roundshares.valid > 0} ({($GLOBAL.userdata.shares.invalid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100)|number_format:"2"}%){/if} + {$GLOBAL.userdata.shares.invalid|number_format}{if $GLOBAL.roundshares.valid > 0} ({($GLOBAL.userdata.shares.invalid / $GLOBAL.userdata.shares.valid * 100)|number_format:"2"}%){/if}