Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / templates / eu_cookie_compliance_popup_info.html.twig
1 {#
2 /**
3  * @file
4  * This is a template file for a banner prompting user to give their consent for
5  * the website to set cookies.
6  *
7  * When overriding this template it is important to note that jQuery will use
8  * the following classes to assign actions to buttons:
9  *
10  * agree-button      - agree to setting cookies
11  * find-more-button  - link to an information page
12  *
13  * Variables available:
14  * - message:  Contains the text that will be display whithin the banner
15  * - agree_button: Label for the primary/agree button. Note that this is the
16  *   primary button. For backwards compatibility, the name remains agree_button.
17  * - disagree_button: Contains Cookie policy button title. (Note: for historical
18  *   reasons, this label is called "disagree" even though it just displays the
19  *   privacy policy.)
20  * - secondary_button_label: Contains the secondary button label. The current
21  *   action depends on whether you're running the module in Opt-out or Opt-in
22  *   mode.
23  * - primary_button_class: Contains class names for the primary button.
24  * - secondary_button_class: Contains class names for the secondary button
25  *   (if visible).
26  */
27 #}
28
29 <div class="eu-cookie-compliance-banner eu-cookie-compliance-banner-info">
30   <div class ="popup-content info eu-cookie-compliance-content">
31     <div id="popup-text" class="eu-cookie-compliance-message">
32       {{ message }}
33       {% if disagree_button %}
34         <button type="button" class="find-more-button eu-cookie-compliance-more-button">{{ disagree_button }}</button>
35       {% endif %}
36     </div>
37     <div id="popup-buttons" class="eu-cookie-compliance-buttons">
38       <button type="button" class="{{ primary_button_class }}">{{ agree_button }}</button>
39       {% if secondary_button_label %}
40         <button type="button" class="{{ secondary_button_class }}" >{{ secondary_button_label }}</button>
41       {% endif %}
42     </div>
43   </div>
44 </div>