From 6d5ce8d49293afa79a86300f38d698426557b9a8 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 7 Nov 2013 11:17:42 -0800 Subject: [PATCH] Move sidebar footer elements elsewhere Donate is in attribution control. Hosting credits are on about page. --- app/assets/stylesheets/common.css.scss | 16 +--------------- app/views/site/about.html.erb | 10 ++++++++++ app/views/site/index.html.erb | 15 --------------- config/locales/en.yml | 23 ++--------------------- 4 files changed, 13 insertions(+), 51 deletions(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 86b6805d1..2b0722be0 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -656,20 +656,6 @@ nav.secondary { cursor: pointer; } - .footer { - position: absolute; - bottom: 0; - } - - p.credits { - font-size: 11px; - color: #999; - - a { - color: #666; - } - } - p.large-text { font-size: 1.7em; line-height: 1.4em; @@ -2616,7 +2602,7 @@ a.button { &.local { background-position: 0px 0px; } &.community { background-position: 0px -40px; } &.open { background-position: 0px -80px; } - &.contributors { background-position: 0px -120px; } + &.partners { background-position: 0px -120px; } &.infringement { background-position: 0px -160px; } } } diff --git a/app/views/site/about.html.erb b/app/views/site/about.html.erb index 3cc87605e..7903dc3b0 100644 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@ -24,4 +24,14 @@

<%= t "about_page.open_data_title" %>

<%= t "about_page.open_data_html", :copyright_path => copyright_path %>

+ +
+

<%= t "about_page.partners_title" %>

+

<%= t 'layouts.partners_html', + :ucl => link_to(t('layouts.partners_ucl'), "http://www.vr.ucl.ac.uk"), + :ic => link_to(t('layouts.partners_ic'), "http://www.imperial.ac.uk/"), + :bytemark => link_to(t('layouts.partners_bytemark'), "http://www.bytemark.co.uk"), + :partners => link_to(t('layouts.partners_partners'), t('layouts.partners_url')) %> +

+
diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 37992585d..74fafe795 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -14,18 +14,3 @@ <%= t('layouts.sign_up') %> <% end %> - - diff --git a/config/locales/en.yml b/config/locales/en.yml index d032c58f1..53f275dd8 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1220,26 +1220,7 @@ en: build upon the data in certain ways, you may distribute the result only under the same licence. See the Copyright and License page for details. - photo_caption_0_html: | - @mikel working on - Map Kibera, a project to map the - largest slum in Nairobi, Kenya. - © watato - 2010 - photo_caption_1_html: | - @lxbarth and - @limareis survey Brasilia with - walking papers. - © mapbox - 2012 - photo_caption_2_html: | - @TODO caption (source) - photo_caption_3_html: | - @TODO caption (source) - photo_caption_4_html: | - @TODO caption (source) - photo_caption_5_html: | - @TODO caption (source) + partners_title: Partners notifier: diary_comment_notification: subject: "[OpenStreetMap] %{user} commented on your diary entry" @@ -2171,7 +2152,7 @@ en: overlays: Enable overlays for troubleshooting the map title: "Layers" copyright: "© OpenStreetMap contributors" - donate_link_text: "" + donate_link_text: "" site: edit_tooltip: Edit the map edit_disabled_tooltip: Zoom in to edit the map -- 2.43.2