$def with(acquisition, domain) $# :param Acquisition acquisition: $# :param domain str: $ clean_domain = domain.replace(".", "") $if acquisition.access == 'open-access':
$_('Read')
$elif acquisition.access == 'sample':
$_('Preview')
$if render_once('direct-provider-toast-' + clean_domain):