{% comment %} Reusable privacy notice for the sign-in / sign-up pages. Renders only when the operator has configured a privacy-policy URL or a custom notice text (System Settings → Access & Security → Privacy & Consent). Reads APP_CONFIG.security so it works on any page without extra view context. DjangoLux ships no legal text. {% endcomment %} {% with sec=APP_CONFIG.security %} {% if sec.privacy_policy_url or sec.privacy_notice_text %}
{% if sec.privacy_notice_text %}{{ sec.privacy_notice_text }}{% endif %} {% if sec.privacy_policy_url %}{{ DLUX_STRINGS.privacy_policy_link|default:'Privacy Policy' }}{% endif %} {% if sec.terms_url %}{{ DLUX_STRINGS.terms_link|default:'Terms' }}{% endif %}
{% endif %} {% endwith %}