diff --git a/lang/tarteaucitron.en.js b/lang/tarteaucitron.en.js index 0d4bc0b..a4aa7f8 100644 --- a/lang/tarteaucitron.en.js +++ b/lang/tarteaucitron.en.js @@ -29,6 +29,7 @@ tarteaucitron.lang = { "more": "Read more", "source": "View the official website", "credit": "Cookies manager by tarteaucitron.js", + "noServices": "This website does not use any cookie requiring your consent.", "toggleInfoBox": "Show/hide informations about cookie storage", "title": "Cookies management panel", diff --git a/lang/tarteaucitron.fr.js b/lang/tarteaucitron.fr.js index 47279a2..7611ebd 100644 --- a/lang/tarteaucitron.fr.js +++ b/lang/tarteaucitron.fr.js @@ -29,6 +29,7 @@ tarteaucitron.lang = { "more": "En savoir plus", "source": "Voir le site officiel", "credit": "Gestion des cookies par tarteaucitron.js", + "noServices": "Ce site n'utilise aucun cookie nécessitant votre consentement.", "toggleInfoBox": "Afficher/masquer les informations sur le stockage des cookies", "title": "Panneau de gestion des cookies", diff --git a/tarteaucitron.js b/tarteaucitron.js index d19ad60..c98d889 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -314,6 +314,7 @@ var tarteaucitron = { html += ' '; html += ' '; } + html += '
  • ' + tarteaucitron.lang.noServices + '
  • '; html += ' '; html += '
    '; if (tarteaucitron.parameters.removeCredit === false) { @@ -576,6 +577,8 @@ var tarteaucitron = { document.getElementById('tarteaucitronServices_' + service.type).innerHTML += html; } + tarteaucitron.userInterface.css('tarteaucitronNoServicesTitle', 'display', 'none'); + tarteaucitron.userInterface.order(service.type); }