Remove networks if no buildings
This commit is contained in:
@@ -28,10 +28,8 @@
|
||||
<form method="post" action="<?=self::getUrl("Pipework","save")?>" >
|
||||
|
||||
<?php foreach($networks as $networkname => $buildings): ?>
|
||||
<?php if(!count($buildings)) continue; ?>
|
||||
<h4><?=$networkname?></h4>
|
||||
|
||||
|
||||
|
||||
<table class="table table-striped table-hover">
|
||||
<?php foreach($buildings as $building): ?>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user