From 227d9d73ff7b58376994a57723a06c0ceb5a2c1e Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 7 Jul 2014 14:36:38 +0200 Subject: [PATCH] [REMOVED] Precision from estimates --- templates/bootstrap/dashboard/js/api.tpl | 10 +++++----- .../bootstrap/dashboard/round_statistics/pps/round.tpl | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/bootstrap/dashboard/js/api.tpl b/templates/bootstrap/dashboard/js/api.tpl index 6df883ce..cc991f38 100644 --- a/templates/bootstrap/dashboard/js/api.tpl +++ b/templates/bootstrap/dashboard/js/api.tpl @@ -141,11 +141,11 @@ $(document).ready(function(){ {/literal}{else}{literal} $('#b-ppsunpaid').html(number_format(data.getdashboarddata.data.personal.shares.unpaid)); $('#b-ppsdiff').html(number_format(data.getdashboarddata.data.personal.sharedifficulty, 2)); - $('#b-est1').html(number_format(data.getdashboarddata.data.personal.estimates.hours1, {/literal}{$PRECISION}{literal})); - $('#b-est24hours').html(number_format(data.getdashboarddata.data.personal.estimates.hours24, {/literal}{$PRECISION}{literal})); - $('#b-est7days').html(number_format(data.getdashboarddata.data.personal.estimates.days7, {/literal}{$PRECISION}{literal})); - $('#b-est14days').html(number_format(data.getdashboarddata.data.personal.estimates.days14, {/literal}{$PRECISION}{literal})); - $('#b-est30days').html(number_format(data.getdashboarddata.data.personal.estimates.days30, {/literal}{$PRECISION}{literal})); + $('#b-est1').html(number_format(data.getdashboarddata.data.personal.estimates.hours1, 12)); + $('#b-est24hours').html(number_format(data.getdashboarddata.data.personal.estimates.hours24, 12)); + $('#b-est7days').html(number_format(data.getdashboarddata.data.personal.estimates.days7, 12)); + $('#b-est14days').html(number_format(data.getdashboarddata.data.personal.estimates.days14, 12)); + $('#b-est30days').html(number_format(data.getdashboarddata.data.personal.estimates.days30, 12)); {/literal}{/if}{literal} {/literal}{if $GLOBAL.config.payout_system == 'pplns'}{literal} $('#b-pplns').html({/literal}{$GLOBAL.pplns.target}{literal}); diff --git a/templates/bootstrap/dashboard/round_statistics/pps/round.tpl b/templates/bootstrap/dashboard/round_statistics/pps/round.tpl index 7fc95e6c..14ab1584 100644 --- a/templates/bootstrap/dashboard/round_statistics/pps/round.tpl +++ b/templates/bootstrap/dashboard/round_statistics/pps/round.tpl @@ -7,7 +7,7 @@
-

{$GLOBAL.userdata.estimates.hours1|number_format:$PRECISION}

+

{$GLOBAL.userdata.estimates.hours1|number_format:12}

{$GLOBAL.config.currency} 1 Hour Estimated Earnings

@@ -22,7 +22,7 @@
-

{$GLOBAL.userdata.estimates.hours24|number_format:$PRECISION}

+

{$GLOBAL.userdata.estimates.hours24|number_format:12}

{$GLOBAL.config.currency} 24 Hour Estimated Earnings

@@ -37,7 +37,7 @@
-

{$GLOBAL.userdata.estimates.days7|number_format:$PRECISION}

+

{$GLOBAL.userdata.estimates.days7|number_format:12}

{$GLOBAL.config.currency} 7 Days Estimated Earnings

@@ -52,7 +52,7 @@
-

{$GLOBAL.userdata.estimates.days14|number_format:$PRECISION}

+

{$GLOBAL.userdata.estimates.days14|number_format:12}

{$GLOBAL.config.currency} 14 Days Estimated Earnings

@@ -67,7 +67,7 @@
-

{$GLOBAL.userdata.estimates.days30|number_format:$PRECISION}

+

{$GLOBAL.userdata.estimates.days30|number_format:12}

{$GLOBAL.config.currency} 30 Days Estimated Earnings