Added privacy policy link to cookie banner (#2647)

master
Ahmad Farhat 2 years ago committed by GitHub
parent eeab951fcd
commit 076bee5e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/views/shared/components/_cookie_warning.html.erb
  2. 1
      config/locales/en.yml

@ -18,6 +18,7 @@
<div class="cookies-banner-content py-3">
<span class="cookies-warning-text pr-5">
<%= t("cookies.cookie_info") %>
<%= t("cookies.policy", privacy_link: privpolicy_url).html_safe if privpolicy_url.present? %>
</span>
<span class="cookies-warning-button d-inline-block">
<button id="cookies-agree-button" class="btn customBtn primary-regular"><%= t("cookies.cookie_button") %></button>

@ -229,6 +229,7 @@ en:
cookies:
cookie_info: Cookies help us deliver our services. By using our services, you agree to our use of cookies.
cookie_button: I Agree
policy: For more infomation, see our <a href="%{privacy_link}"><u>privacy policy</u></a>.
copied: Copied
copy: Copy
date: