@ -23,6 +23,7 @@ class PromoPluginPublisher(CMSPluginBase):
promo.text = promo.text.replace('#promo', promo.page_link.get_absolute_url())
context.update({
'instance': promo,
'history': history
})
return context
@ -4,5 +4,6 @@
{% block promo_content %}
{% if instance %}
{{ instance.text }}
{{ history }}
{% endif %}
{% endblock %}