Skip to content

Commit

Permalink
Merge pull request #1073 from City-of-Helsinki/UHF-10738
Browse files Browse the repository at this point in the history
UHF-10738 Cookie policy
  • Loading branch information
khalima authored Oct 10, 2024
2 parents 0fbbd5c + 9b77a6a commit 398877f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/scss/06_components/__index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@import 'navigation/_index';
@import 'pages/_index';
@import 'paragraphs/_index';
// @todo UHF-8650: Deprecated. Remove when the EU cookie compliance module is removed.
@import 'eu-cookie-compliance-banner';
@import 'gin-toolbar';
@import 'logo';
Expand Down
1 change: 1 addition & 0 deletions src/scss/06_components/_eu-cookie-compliance-banner.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @todo UHF-8650: Deprecated. Remove when the EU cookie compliance module is removed.
.dialog-off-canvas-main-canvas {
&::after {
background-color: rgba($color-black, 0.4);
Expand Down
2 changes: 2 additions & 0 deletions templates/misc/eu_cookie_compliance_popup_info.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* This is a template file for a banner prompting user to give their consent for
* the website to set cookies.
*
* @todo UHF-8650: Deprecated. Remove when the EU cookie compliance module is removed.
*
* When overriding this template it is important to note that jQuery will use
* the following classes to assign actions to buttons:
*
Expand Down
6 changes: 6 additions & 0 deletions templates/module/hdbt_cookie_banner/cookie-policy.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% embed "@hdbt/misc/container.twig" with {container_element: 'cookie-policy'} %}
{% block container_content %}
<p>{{ content|nl2br }}</p>
<div class="cookie-policy-settings"></div>
{% endblock %}
{% endembed %}

0 comments on commit 398877f

Please sign in to comment.