diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d83d3e4db..cccc2fec7 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -134,6 +134,14 @@ def community_imprint_url end end + def community_privacy_url + if I18n.locale == :de + 'https://news.wheelmap.org/datenschutzbestimmungen/' + else + 'https://news.wheelmap.org/en/privacy/' + end + end + def community_newsletter_url if I18n.locale == :de 'https://news.wheelmap.org/kontakt/' diff --git a/app/views/relaunch/_footer.html.haml b/app/views/relaunch/_footer.html.haml index f703aa8bc..568df0180 100644 --- a/app/views/relaunch/_footer.html.haml +++ b/app/views/relaunch/_footer.html.haml @@ -24,6 +24,8 @@ = image_tag('allianz@2x.png', :size => '45x20', :alt => 'Allianz Logo', :title => 'Allianz', :style => "margin-top: -3px;height:20px") %li = link_to t('header.navigation.imprint'), community_imprint_url, :target => '_blank' + %li + = link_to t('header.navigation.privacy'), community_privacy_url, :target => '_blank' %li %span= t('wheelmap.footer.a_project_of') = link_to 'http://sozialhelden.de', :id => 'sozialhelden', :title => 'Sozialhelden' do