Change donation drive panel to a thank you

Closes #1001
This commit is contained in:
Tom Hughes 2015-06-30 21:59:14 +01:00
parent 84170254e4
commit 9e2db4513e
4 changed files with 7 additions and 10 deletions

View file

@ -165,13 +165,13 @@ $(document).ready(function () {
$.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" });
});
if ($.cookie('_osm_donate2015') === 'hide') {
if ($.cookie('_osm_donatedone2015') === 'hide') {
$('#donate').hide();
}
$('#donate .close').on('click', function() {
$('#donate').hide();
$.cookie("_osm_donate2015", 'hide', { expires: expiry });
$.cookie("_osm_donatedone2015", 'hide', { expires: expiry });
});
if ($.cookie('_osm_welcome') === 'hide') {

View file

@ -2692,7 +2692,7 @@ input.richtext_title[type="text"] {
h2 {
margin-left: 100px;
padding: 7px 10px 6px 10px;
padding: 14px 10px 6px 10px;
}
p {

View file

@ -34,12 +34,10 @@
<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_header' %></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_line_1' %>
<br />
<%= t 'layouts.donate_line_2' %>
<%= t 'layouts.donate_done_line_1' %>
</a></p>
<p><a href="http://donate.openstreetmap.org/server2015/">
<%= t 'layouts.donate_line_3' %>