{# Billing helpers. limit(): a "limit reached" banner with an Upgrade link on any plan (hidden on self-hosted). paused(): label for items paused by enforcement. #} {% macro limit(used, cap, what, hint='') -%} {% if not selfhosted and cap is not none and cap < 999 and used >= cap %}