From 5654f3815482c10fa3fd2c259e2d5c437db1241c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Fri, 5 Jul 2013 11:04:56 +0200 Subject: [PATCH] remove link to block when blockexplorer empty --- .../templates/mobile/statistics/pool/authenticated.tpl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/templates/mobile/statistics/pool/authenticated.tpl b/public/templates/mobile/statistics/pool/authenticated.tpl index 5cb2321e..0889347c 100644 --- a/public/templates/mobile/statistics/pool/authenticated.tpl +++ b/public/templates/mobile/statistics/pool/authenticated.tpl @@ -24,13 +24,20 @@ Current Active Workers {$GLOBAL.workers} + {if $GLOBAL.blockexplorer} Next Network Block {$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK}) + {else} + + Next Network Block + {$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK}) + + {/if} Last Block Found - {$LASTBLOCK|default:"0"} + {if $GLOBAL.blockexplorer}{$LASTBLOCK|default:"0"}{else}{$LASTBLOCK|default:"0"}{/if} {if $GLOBAL.chaininfo}