Removed piechart, removed no shares notification

* Removed broken piechart for now
* Do not display message if no shares are found for calculations to
  avoid cross-tabe error messages

Fixes #312
This commit is contained in:
Sebastian Grewe 2013-07-08 08:54:17 +02:00
parent 952c8732b1
commit 1c2891cc78
3 changed files with 1 additions and 9 deletions

View File

@ -1,7 +1,6 @@
{if is_array($YOURHASHRATES) && is_array($POOLHASHRATES)}
<div class="block_content tab_content" id="both" style="padding-left:30px;">
{foreach from=array('area','pie') item=chartType}
<table width="60%" class="stats" rel="{$chartType}">
<table width="60%" class="stats" rel="area">
<caption>Your vs Pool Hashrate</caption>
<thead>
<tr>
@ -36,8 +35,5 @@
</tbody>
</table>
<br />
{/foreach}
</div>
{else}
<p><li>No shares available to start calculations</li></p>
{/if}

View File

@ -26,6 +26,4 @@
</tbody>
</table>
</div>
{else}
<p><li>No shares available to start calculations</li></p>
{/if}

View File

@ -26,6 +26,4 @@
</tbody>
</table>
</div>
{else}
<p><li>No shares available to start calculations</li></p>
{/if}