Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
c0baf462
Commit
c0baf462
authored
8 months ago
by
Chris Shantz
Browse files
Options
Downloads
Plain Diff
Merge branch '1.1.x' into prod/1.1.x
parents
52b3a30f
7c2dd6dc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/elements/eu_cookie_compliance_popup_info.html.twig
+51
-0
51 additions, 0 deletions
templates/elements/eu_cookie_compliance_popup_info.html.twig
uw_fdsu_theme_resp.info.yml
+2
-0
2 additions, 0 deletions
uw_fdsu_theme_resp.info.yml
with
53 additions
and
0 deletions
templates/elements/eu_cookie_compliance_popup_info.html.twig
0 → 100644
+
51
−
0
View file @
c0baf462
{#
/**
* @file
* This is a template file for a banner prompting user to give their consent for
* the website to set cookies.
*
* When overriding this template it is important to note that jQuery will use
* the following classes to assign actions to buttons:
*
* agree-button - agree to setting cookies
* find-more-button - link to an information page
*
* Variables available:
* - message: Contains the text that will be display whithin the banner
* - agree_button: Label for the primary/agree button. Note that this is the
* primary button. For backwards compatibility, the name remains agree_button.
* - disagree_button: Contains Cookie policy button title. (Note: for historical
* reasons, this label is called "disagree" even though it just displays the
* privacy policy.)
* - secondary_button_label: Contains the secondary button label. The current
* action depends on whether you're running the module in Opt-out or Opt-in
* mode.
* - primary_button_class: Contains class names for the primary button.
* - secondary_button_class: Contains class names for the secondary button
* (if visible).
* - cookie_categories: Contains a array with cookie categories that can be
* agreed or disagreed to separately.
* - save_preferences_button_label: Label text for a button to save the consent
* preferences.
* category cannot be unchecked.
* - privacy_settings_tab_label: Label text for the Privacy settings tab.
* - withdraw_button_on_info_popup: Show the withdraw button on this popup.
* - method: Chosen consent method.
* - olivero_primary_button_classes: Additional primary button classes that is only populated when
* option to extend Olivero theme's styles is enabled.
* - olivero_secondary_button_classes: Additional secondary button classes that is only populated when
* option to extend Olivero theme's styles is enabled.
*/
#}
{%
set
cookie_message
=
message
|
split
(
'</h2>'
)
%}
{%
set
cookie_data
=
{
'labelledby_id'
:
'cookieLabel'
,
'describedby_id'
:
'cookieDescription'
,
'label'
:
cookie_message.0
|
striptags
,
'description'
:
cookie_message.1
|
striptags
}
%}
{%
include
'@components/eu-cookie-compliance/eu-cookie-compliance.twig'
with
{
'cookie'
:
cookie_data
,
}
%}
This diff is collapsed.
Click to expand it.
uw_fdsu_theme_resp.info.yml
+
2
−
0
View file @
c0baf462
...
...
@@ -44,6 +44,8 @@ stylesheets-remove:
-
'
core/themes/seven/css/components/form.css'
-
'
core/themes/seven/css/components/tables.css'
-
'
core/modules/filter/css/filter.caption.css'
-
'
profiles/uw_base_profile/modules/contrib/calendar_view/css/calendar-view.default.css'
-
'
profiles/uw_base_profile/modules/contrib/calendar_view/css/calendar-view.css'
# - '@stable/css/system/components/align.module.css'
# - '@stable/css/system/components/fieldgroup.module.css'
# - '@stable/css/system/components/container-inline.module.css'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment