def visible(self):
        """
        Only shown on the sharing view
        """
        context_state = api.content.get_view(context=self.context,
                                             request=self.request,
                                             name="plone_context_state")
        url = context_state.current_base_url()
        return url.endswith('@@sharing')
Only shown on the sharing view