[FIX] Hide worker information if live dashboard disabled

This commit is contained in:
Sebastian Grewe 2014-03-11 21:48:56 +01:00
parent 4a79ed8635
commit 5a746bb07d

View File

@ -1,10 +1,10 @@
{if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API}
<div class="col-lg-4"> <div class="col-lg-4">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-desktop fa-fw"></i> Worker Information</h4> <h4 class="panel-title"><i class="fa fa-desktop fa-fw"></i> Worker Information</h4>
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding">
{if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API}
<table class="table table-bordered table-hover table-striped"> <table class="table table-bordered table-hover table-striped">
<thead> <thead>
<tr> <tr>
@ -18,7 +18,7 @@
</tbody> </tbody>
</tr> </tr>
</table> </table>
{/if}
</div> </div>
</div> </div>
</div> </div>
{/if}