-@register.inclusion_tag("funding/tags/funding.html")
-def funding(offer=None, link=False, add_class=""):
- if offer is None:
- offer = Offer.current()
+@ssi_variable(register, patch_response=[ssi_cache_control(must_revalidate=True, max_age=0)])
+def current_offer(request):
+ offer = Offer.current()
+ return offer.pk if offer is not None else None