Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / eu_cookie_compliance / templates / eu_cookie_compliance_popup_agreed.html.twig
index 5f4ac73625b6b015ee6049dd8dc5ca1ee6c48ffb..6089885252f28d06464d3b264fb484d56cd2d064 100644 (file)
@@ -1,30 +1,32 @@
 {#
 /**
  * @file
- * This is a template file for a pop-up informing a user that he has already
+ * This is a template file for a banner informing a user that he has already
  * agreed to cookies.
  *
  * When overriding this template it is important to note that jQuery will use
  * the following classes to assign actions to buttons:
  *
- * hide-popup-button - destroy the pop-up
+ * hide-popup-button - destroy the banner
  * find-more-button  - link to an information page
  *
  * Variables available:
- * - $message:  Contains the text that will be display whithin the pop-up
+ * - $message:  Contains the text that will be display whithin the banner
  * - $hide_button: Label for the hide button
  * - $find_more_button: Label for the find out more button
  */
 #}
 
-<div>
-  <div class ="popup-content agreed">
-    <div id="popup-text">
+<div class="eu-cookie-compliance-banner eu-cookie-compliance-banner-thank-you">
+  <div class ="popup-content agreed eu-cookie-compliance-content">
+    <div id="popup-text" class="eu-cookie-compliance-message">
       {{ message }}
     </div>
-    <div id="popup-buttons">
-      <button type="button" class="hide-popup-button">{{ hide_button }}</button>
-      <button type="button" class="find-more-button" >{{ find_more_button }}</button>
+    <div id="popup-buttons" class="eu-cookie-compliance-buttons">
+      <button type="button" class="hide-popup-button eu-cookie-compliance-hide-button">{{ hide_button }}</button>
+      {% if find_more_button %}
+        <button type="button" class="find-more-button eu-cookie-compliance-more-button" >{{ find_more_button }}</button>
+      {% endif %}
     </div>
   </div>
 </div>