Remove donation drive banner

Fixes #1003
This commit is contained in:
Tom Hughes 2015-07-11 11:40:14 +01:00
parent d28ae2ad0a
commit 996d5413d8
5 changed files with 0 additions and 62 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -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();
}

View file

@ -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) {

View file

@ -30,20 +30,6 @@
<p class="error"><%= t 'layouts.osm_read_only' %></p>
<% end %>
<div id="donate">
<a href="http://donate.openstreetmap.org/server2015/"><div class="sprite logo"></div></a>
<h2>
<a><span class="icon close"></span></a>
<a href="http://donate.openstreetmap.org/server2015/"><%= t 'layouts.donate_done_header' %></a>
</h2>
<p><a href="http://donate.openstreetmap.org/server2015/">
<%= t 'layouts.donate_done_line_1' %>
</a></p>
<p><a href="http://donate.openstreetmap.org/server2015/">
<%= t 'layouts.donate_line_3' %>
</a></p>
</div>
<div id="flash">
<%= render :partial => "layouts/flash" %>
</div>

View file

@ -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