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

View File

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

View File

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