From 996d5413d85e4d38d33ac3827a1fc853ba9d0149 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 11 Jul 2015 11:40:14 +0100 Subject: [PATCH] Remove donation drive banner Fixes #1003 --- app/assets/images/donate-sprite@2x.png | Bin 7387 -> 0 bytes app/assets/javascripts/index.js | 9 ------- app/assets/stylesheets/common.scss | 36 ------------------------- app/views/layouts/map.html.erb | 14 ---------- config/locales/en.yml | 3 --- 5 files changed, 62 deletions(-) delete mode 100644 app/assets/images/donate-sprite@2x.png diff --git a/app/assets/images/donate-sprite@2x.png b/app/assets/images/donate-sprite@2x.png deleted file mode 100644 index 20ef9119a2806d8fcde270e77cd35aeda28b15fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7387 zcmd5>gUP5X?8bOxsM!H0#Lpr6F?pRS+q(owoR0(O2MrsiRWQi~65>g8Y zC>=_R@Adary!UzT-RGV=JLjCwoH^$+GszF`>rj!ik`oXRQ0eJvJ_LRbfqR6M7{&BmfRH6v%PQE^-#s|YDbS4|EG$gK z%g;N=#R=gi;veWyu&=~QKmfDS(^NMLFWf7NDKs-*!t{kLhoZH3Q6^)l#Rpr>w=+A>3RkF4ih}kdF4zYGU{b6`ZgY3j0)C25H0|3j zG)*((oDheN^o3nrQ8DX0LxUXyCmKU?qS>~g$yOI!-ctE=;t9~xfuYoWd#s`%_?C~A z6XnjO&C$Uv21@?Wu!cX4;ymtRZznIY6qcn^!Tcrb)B~?OZIh|^*TjU2oz-X2Yl64% zVzr#SE08NEmqe%k3MT_}9DaKvrCDiqqneth;#Zi7(P6paSbdjlQ0eo(iUEKf3vl0~ zNqP_^bE{jq$%lI0gAL+q_m!-ov>03i(Tu0kLjwBO&4U+V?X?s#wPJ}mA10y}9d@VBW{cfUE`ELm%i8cMfL zGJqBuOZK(@lP0eAFp9KO!W*@DlGnO@OCZKQ|Lwc)w@cdm`%k(2s{TQk;@JYrzXs6u zllG>49N1fmPLF0&opSWC7D#L^k7F!hW4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AV z(|O46(0Amu_(i{J_ln@bVDbkgzp%2}0#k?xptV_oqFzP0vfN*J*DL{`gen<23d^%> zmQfGTsqIo3KHWMYFcbA;j2nO5mt$=dsH#Jy(U!Z~2A>e0CQ{#(t z93%8zOQ0?*rKv0w2oUH+Lj`9OBKQ$wD2+M>rc^ES`cD(6~zw$bde_><&3v5qcks(L)tqsew)T3YPK&c{T8L_s&?#SOI zgPvB@)VUx^V=QKm(Od(c=Oot1e^l~K(nB;eM)HK?z|oSyi{Z=JvNw zm;=e5KGwJGfO(<@dzVk7f)~&Ai-<6wD2S#DSCi;|4Y?;{d4Z0ExbJ}c(LVnw0g}H3;u1XfndC&ir^FvGIV_erYrpaeI-a1h1 znk*Y(L}?#=_b4NtA;Zd?f%&;yZ)#_cT}geI#l&*Ldqi0J_@I*R#@?PjC#>iSiOV_+ zR)+d7K8_mQM7eEQ~%r#{*q}u<|uEKvQ|&Ywg5Hh%P}8rIp6;{x_pJq zF0p$7>A>}2B<@(bksR0&zk|5t>@xBu=Fx$+Bc#%pPiCfktxtC-l?8~Ab^|gCo}yU3 zMv4e_ytt-!ls|tF74AtC0HIdPs0T!&t7~%u-Zj@!bEPwruUXrpk`vy-5B2tY>}j{* zP{wNgiw$}8;w)#)+nvAYkH0zO1ca3_Mb-ai(6qeTTj{L9hz}rugf=t7=W+tf5pO44 z0xtZm1F7A$nnT8q$GJ@oZQM_T Kv;Lmrlm7$7EDz8C diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index d96bbad4a..085b615c7 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -165,15 +165,6 @@ $(document).ready(function () { $.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" }); }); - if ($.cookie('_osm_donatedone2015') === 'hide') { - $('#donate').hide(); - } - - $('#donate .close').on('click', function() { - $('#donate').hide(); - $.cookie("_osm_donatedone2015", 'hide', { expires: expiry }); - }); - if ($.cookie('_osm_welcome') === 'hide') { $('.welcome').hide(); } diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 45a047611..61975d5f6 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -2674,42 +2674,6 @@ input.richtext_title[type="text"] { } } -#sidebar #donate { - background-color: rgb(89, 89, 89); - padding: 10px 5px; - min-height: 120px; - - .sprite { - background: transparent image-url('donate-sprite@2x.png') no-repeat scroll 0 0 / 120px 100px; - } - - .sprite.logo { - float: left; - background-position: 0 0; - height: 100px; - width: 100px; - } - - h2 { - margin-left: 100px; - padding: 14px 10px 6px 10px; - } - - p { - margin-left: 100px; - padding: 2px 10px 3px 10px; - } - - a { - color: $offwhite; - } - - :hover { - text-decoration: none; - color: #b7b7bf; - } -} - @import 'browse'; @media only screen and (max-width:960px) { diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index a51daf753..cb2fd0e07 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -30,20 +30,6 @@

<%= t 'layouts.osm_read_only' %>

<% end %> - -
<%= render :partial => "layouts/flash" %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index ab18c6922..ea04a2c01 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -953,9 +953,6 @@ en: text: Make a Donation learn_more: "Learn More" more: More - donate_done_header: Thank You - donate_done_line_1: We hit our fundraising target! - donate_line_3: Hardware Funding Drive 2015 license_page: foreign: title: About this translation -- 2.39.5