Allows pools to disable the dashboard and dashboard API completely. Useful if you are not running a master/load(/load/load) setup to deal with frequent live queries. Fixes #876 once merged.
12 lines
384 B
Smarty
12 lines
384 B
Smarty
{if $smarty.session.AUTHENTICATED|default}
|
|
{include file="dashboard/overview.tpl"}
|
|
{include file="dashboard/system_stats.tpl"}
|
|
{include file="dashboard/round_data.tpl"}
|
|
{include file="dashboard/account_data.tpl"}
|
|
{if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API}
|
|
{include file="dashboard/js_api.tpl"}
|
|
{else}
|
|
{include file="dashboard/js_static.tpl"}
|
|
{/if}
|
|
{/if}
|