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

View File

@ -4,6 +4,9 @@
</div> </div>
<?php endif ?> <?php endif ?>
<div class="content" data-base-target="_next"> <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"> <table class="action alternating">
<thead> <thead>
<th><?= $this->translate('Shared Navigation'); ?></th> <th><?= $this->translate('Shared Navigation'); ?></th>
@ -27,4 +30,5 @@
<?php endforeach ?> <?php endforeach ?>
</tbody> </tbody>
</table> </table>
<?php endif ?>
</div> </div>