From aeaa24321034fa3b12f1daefab71973f72285898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Birger=20J=2E=20Nord=C3=B8lum?= Date: Sun, 8 Oct 2023 17:16:33 +0200 Subject: [PATCH] feat: add support for showing a disclaimer (#1509) * feat: add support for showing a disclaimer * test: attempt at fixing --- app/views/shared/_footer.html.erb | 6 +++++- config/defaults/settings.yml | 5 +++++ config/settings.yml | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index d0ca8235348..ae83260d394 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -1,4 +1,3 @@ - diff --git a/config/defaults/settings.yml b/config/defaults/settings.yml index 28d9ade9cb9..1937275dc17 100644 --- a/config/defaults/settings.yml +++ b/config/defaults/settings.yml @@ -543,6 +543,11 @@ brand: # tagline: 'Go Ahead. Email Another Password.' + ### Site Disclaimer + # + # Environment variable override: PWP__BRAND__DISCLAIMER='Use at own use risk.' + # disclaimer: 'This is a dummy disclaimer and should not be considered legally binding or taken seriously in any way. The content provided here is for entertainment and illustrative purposes only. Any resemblance to actual disclaimers is purely coincidental. We do not endorse or encourage the use of this disclaimer for any real-world applications, and we strongly advise consulting a legal professional for creating legitimate and appropriate disclaimers for your specific needs. By reading this disclaimer, you agree not to hold us responsible for any confusion, amusement, or bewilderment it may cause. This disclaimer has no legal validity, and any attempt to rely on it for legal, financial, or any other serious matters is ill-advised. Please use disclaimers responsibly and in accordance with applicable laws and regulations.' + ### Show Footer Menu Toggle # # Environment variable override: PWP__BRAND__SHOW_FOOTER_MENU='true' diff --git a/config/settings.yml b/config/settings.yml index 28d9ade9cb9..1937275dc17 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -543,6 +543,11 @@ brand: # tagline: 'Go Ahead. Email Another Password.' + ### Site Disclaimer + # + # Environment variable override: PWP__BRAND__DISCLAIMER='Use at own use risk.' + # disclaimer: 'This is a dummy disclaimer and should not be considered legally binding or taken seriously in any way. The content provided here is for entertainment and illustrative purposes only. Any resemblance to actual disclaimers is purely coincidental. We do not endorse or encourage the use of this disclaimer for any real-world applications, and we strongly advise consulting a legal professional for creating legitimate and appropriate disclaimers for your specific needs. By reading this disclaimer, you agree not to hold us responsible for any confusion, amusement, or bewilderment it may cause. This disclaimer has no legal validity, and any attempt to rely on it for legal, financial, or any other serious matters is ill-advised. Please use disclaimers responsibly and in accordance with applicable laws and regulations.' + ### Show Footer Menu Toggle # # Environment variable override: PWP__BRAND__SHOW_FOOTER_MENU='true'