shared navigation overview: Show a message if there's nothing shared

refs #5600
This commit is contained in:
Johannes Meyer 2015-09-16 13:07:41 +02:00
parent 16a57c5c1b
commit 4db2f7e7a9
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,9 @@
</div>
<?php endif ?>
<div class="content" data-base-target="_next">
<?php if ($items->isEmpty()): ?>
<?= $this->translate('There are currently no navigation items being shared'); ?>
<?php else: ?>
<table class="action alternating">
<thead>
<th><?= $this->translate('Shared Navigation'); ?></th>
@ -27,4 +30,5 @@
<?php endforeach ?>
</tbody>
</table>
<?php endif ?>
</div>