Do not use link difficulty if chaininfo unset

Fixes #336
This commit is contained in:
Sebastian Grewe 2013-07-02 21:15:44 +02:00
parent accdec0a26
commit bba15719db

View File

@ -29,7 +29,11 @@
</tr>
<tr>
<td class="leftheader">Current Difficulty</td>
{if $GLOBAL.chaininfo}
<td><a href="{$GLOBAL.chaininfo}" target="_new"><font size="2">{$DIFFICULTY}</font></a></td>
{else}
<td><font size="2">{$DIFFICULTY}</font></td>
{/if}
</tr>
<tr>
<td class="leftheader">Est. Avg. Time per Round</td>