fix: policy consent links

This commit is contained in:
trisua 2025-08-13 11:03:04 -04:00
parent 2edef9bd35
commit 3ead205cd8
2 changed files with 3 additions and 1 deletions

View file

@ -151,7 +151,7 @@
}
});
}"))))))
(text "{% elif user and renew_policy_consent -%}")
(text "{% elif user and renew_policy_consent and not hide_policies -%}")
; renew policy consent
(article
(main
@ -174,6 +174,7 @@
(a
("href" "{{ config.policies.privacy }}")
(text "Privacy policy"))))
(p ("style" "margin: 1rem 0 0") (text "Policies last updated: ") (span ("class" "date") (text "{{ config.policies.last_updated }}")))
(hr ("class" "margin"))
(button
("onclick" "update_policy_consent()")