Revert "Add SOTM advert"

This reverts commit 15a7276a9f.
This commit is contained in:
Tom Hughes 2014-11-09 23:03:04 +00:00
parent ac2f9308b9
commit f0ecc6312b
5 changed files with 0 additions and 58 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

View file

@ -162,15 +162,6 @@ $(document).ready(function () {
$.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" });
});
if ($.cookie('_osm_sotm') == 'hide') {
$('#sotm').hide();
}
$('#sotm .close').on('click', function() {
$('#sotm').hide();
$.cookie("_osm_sotm", 'hide', { expires: expiry });
});
if ($.cookie('_osm_welcome') == 'hide') {
$('.welcome').hide();
}

View file

@ -2601,36 +2601,6 @@ input.richtext_title[type="text"] {
}
}
#sidebar #sotm {
padding: 10px;
min-height: 120px;
img {
float: left;
width: 100px;
height: 100px;
}
h2 {
margin-left: 100px;
padding: 7px 10px 6px 15px;
}
p {
margin-left: 100px;
padding: 6px 10px 7px 15px;
}
a {
color: $darkgrey;
}
:hover {
text-decoration: none;
color: darken($darkgrey, 25%);
}
}
@import 'browse';
@media only screen and (max-width:960px) {

View file

@ -30,21 +30,6 @@
<p class="error"><%= t 'layouts.osm_read_only' %></p>
<% end %>
<div id="sotm">
<a href="http://www.stateofthemap.org/?l=en"><%= image_tag "sotm.png" %></a>
<h2>
<a><span class="icon close"></span></a>
<a href="http://www.stateofthemap.org/?l=en"><%= t 'layouts.sotm_header' %></a>
</h2>
<p><a href="http://www.stateofthemap.org/?l=en">
<%= t 'layouts.sotm_line_1' %>
<br />
<%= t 'layouts.sotm_line_2' %>
<br />
<%= t 'layouts.sotm_line_3' %>
</a></p>
</div>
<div id="flash">
<%= render :partial => "layouts/flash" %>
</div>

View file

@ -944,10 +944,6 @@ en:
text: Make a Donation
learn_more: "Learn More"
more: More
sotm_header: State of the Map 2014
sotm_line_1: 8th Annual Conference
sotm_line_2: November 7th-9th 2014
sotm_line_3: Buenos Aires, Argentina
license_page:
foreign:
title: About this translation