summaryrefslogtreecommitdiff
path: root/app/views/layouts/_page.html.haml
diff options
context:
space:
mode:
authorDennis Tang <750946-dennis@users.noreply.gitlab.com>2019-08-14 12:20:36 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-08-14 12:20:36 +0000
commite5dd249c4ffb18dc6928e86ae0547b071f33dd72 (patch)
tree68627c5ad44168a18edbcf452eaf9c2297a62f14 /app/views/layouts/_page.html.haml
parent16f3f33e748d61b494f8815501e2a884d114255d (diff)
downloadgitlab-ce-e5dd249c4ffb18dc6928e86ae0547b071f33dd72.tar.gz
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/views/layouts/_page.html.haml')
-rw-r--r--app/views/layouts/_page.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index 006334ade07..f32757ebc51 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -17,4 +17,6 @@
.d-flex
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
.content{ id: "content-body" }
+ - if Gitlab.com? && show_privacy_policy_update_64341?
+ = render "layouts/privacy_policy_update_callout"
= yield