Remove networks if no buildings

This commit is contained in:
Frank Schubert
2021-08-24 23:16:48 +02:00
parent 0d7abef945
commit 045e94fe17

View File

@@ -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