Do not show empty table for external links

This commit is contained in:
Frederic Guillot
2016-03-19 18:05:42 -04:00
parent 1ad57c7473
commit 787e91ca41

View File

@@ -1,3 +1,4 @@
<?php if (! empty($links)): ?>
<table class="table-stripped table-small"> <table class="table-stripped table-small">
<tr> <tr>
<th class="column-10"><?= t('Type') ?></th> <th class="column-10"><?= t('Type') ?></th>
@@ -40,3 +41,4 @@
</tr> </tr>
<?php endforeach ?> <?php endforeach ?>
</table> </table>
<?php endif ?>