Problem/Motivation
Add a "Disclaimer" field to the cookie texts (/admin/config/cookies/texts)
with the following default:
"All cookie information is subject to change by the service providers. We update this information regularly."
Description:
"Allows to place a disclaimer text above and below the cookie service information output. Leave empty to show no disclaimer. Ensure you update service information regularly anyway!"
The text should be a simple one-line input, optional, translatable and if not empty, output above and below the cookie information (/cookies/documentation
+ Token (+ perhaps the banner if the service detail informations are also shown there in a certain configuration))
Steps to reproduce
Proposed resolution
See above
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#7 | 2022-12-01 13_21_31-Cookie Documentation _ Drush Site-Install.png | 49.34 KB | Grevil |
Issue fork cookies-3324484
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
AnybodyComment #4
AnybodyComment #5
AnybodyComment #7
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedOK, I finished the implementation! I still need to implement tests for this and also go over the disclaimer styling (see screenshot attached). I wanted to style the disclaimer as a Drupal warning message, but failed (horribly).
Nevertheless, this is ready for review, but still needs a bit of work!
Comment #8
Anybody@Grevil: Thanks, review done! :)
Regarding the tests perhaps add them all combined when finishing the parent issue? Might be easier, when you're in the flow ;)
Comment #9
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedComment #10
AnybodyComment #11
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedOK, this still needs work, couldn't finish it today, CookiesConfigService.php has huge flaws we need to fix...
Comment #12
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedOK, ready for review!
Comment #13
AnybodyComment #14
AnybodyRTBC once all points are fixed :)
Comment #15
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedComment #16
Grevil CreditAttribution: Grevil as a volunteer and at DROWL.de commentedComment #18
Anybody