diff options
author | Dennis Tang <750946-dennis@users.noreply.gitlab.com> | 2019-08-14 15:20:36 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-08-14 15:20:36 +0300 |
commit | e5dd249c4ffb18dc6928e86ae0547b071f33dd72 (patch) | |
tree | 68627c5ad44168a18edbcf452eaf9c2297a62f14 /app/assets/javascripts/main.js | |
parent | 16f3f33e748d61b494f8815501e2a884d114255d (diff) |
Add notification for updated privacy policy
This adds a notification to let users know of our updated privacy
policy.
Users can dismiss the notification either by following the link or
closing the notification via an "x" icon.
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r-- | app/assets/javascripts/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 9e97f345717..74497945dee 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -32,6 +32,7 @@ import initSearchAutocomplete from './search_autocomplete'; import GlFieldErrors from './gl_field_errors'; import initUserPopovers from './user_popovers'; import { __ } from './locale'; +import initPrivacyPolicyUpdateCallout from './privacy_policy_update_callout'; import 'ee_else_ce/main_ee'; @@ -79,6 +80,7 @@ function deferredInitialisation() { initLogoAnimation(); initUsagePingConsent(); initUserPopovers(); + initPrivacyPolicyUpdateCallout(); if (document.querySelector('.search')) initSearchAutocomplete(); |