]> git.ipfire.org Git - ipfire.org.git/commitdiff
help: Fix rendering page if users are not logged in
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 13 Dec 2023 16:18:20 +0000 (16:18 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Dec 2023 11:54:34 +0000 (11:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/static/help.html

index aa79472042ada95bd356f028d51727005dd1966b..05c70e64960a6dae6ab4728e13ec959e8a5c8a72 100644 (file)
                                                </p>
                                        </div>
 
-                                       {% if current_user or not current_user.consents_to_promotional_emails %}
+                                       {% if not current_user or not current_user.consents_to_promotional_emails %}
                                                <div class="block">
                                                        <a class="button is-primary" href="/subscribe">
                                                                {{ _("Subscribe To Our Newsletter") }}