I would like to add a link to modify the current item.
This link should be display to the public show page only if the user is connected. Idealy, it should be in the top bar.
With Omeka Classic something like that worked:
<?php $user = current_user(); if(isset($user)): ?> <p> <a href="<?php echo url('/admin/items/edit/'.metadata('item', 'id'));?>">modify the current item</a> </p> <?php endif; ?>
What is the equivalent for S?