{% set upsell = addon.upsell %} {% if upsell %}

{{ _('Premium version available') }}

{% with prm = upsell.premium %} {% if module_context == 'discovery' %} {{ prm.name }} {% else %} {{ prm|addon_hovercard(src='dp-hc-upsell', dl_src='dp-dl-upsell') }} {% endif %} {% endwith %}
{{ upsell.text|nl2br }}
{% endif %}