Merge pull request #362 from TheSerapher/issue-336
Remove link on mobile if chaininfo empty
This commit is contained in:
commit
4a8cc8f884
@ -164,6 +164,7 @@ $config['archive_shares'] = true;
|
||||
$config['blockexplorer'] = 'http://explorer.litecoin.net/search?q=';
|
||||
|
||||
// Link to blockchain information, used for difficulty link, default: `http://allchains.info`
|
||||
// If empty, the difficulty link to the chain information will be removed
|
||||
$config['chaininfo'] = 'http://allchains.info';
|
||||
|
||||
// Pool fees applied to users in percent, default: 0 (disabled)
|
||||
|
||||
@ -32,10 +32,12 @@
|
||||
<td class="leftheader">Last Block Found</td>
|
||||
<td><a href="{$GLOBAL.blockexplorer}{$LASTBLOCK}" target="_new">{$LASTBLOCK|default:"0"}</a></td>
|
||||
</tr>
|
||||
{if $GLOBAL.chaininfo}
|
||||
<tr>
|
||||
<td class="leftheader">Current Difficulty</td>
|
||||
<td><a href="{$GLOBAL.chaininfo}" target="_new"><font size="2">{$DIFFICULTY}</font></a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="leftheader">Est. Avg. Time per Round</td>
|
||||
<td>{$ESTTIME|seconds_to_words}</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user