Revert "Add SOTM advert"
authorTom Hughes <tom@compton.nu>
Sun, 9 Nov 2014 23:03:04 +0000 (23:03 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 9 Nov 2014 23:03:04 +0000 (23:03 +0000)
This reverts commit 15a7276a9f50821a7728b4da3af16849284f251b.

app/assets/images/sotm.png [deleted file]
app/assets/javascripts/index.js
app/assets/stylesheets/common.css.scss
app/views/layouts/map.html.erb
config/locales/en.yml

diff --git a/app/assets/images/sotm.png b/app/assets/images/sotm.png
deleted file mode 100644 (file)
index 3df0287..0000000
Binary files a/app/assets/images/sotm.png and /dev/null differ
index 191f390bf4941363049d61981db189ea0f17313b..df975db48fe75b7690d5223cf6ecf894fcaff231 100644 (file)
@@ -162,15 +162,6 @@ $(document).ready(function () {
     $.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" });
   });
 
     $.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();
   }
   if ($.cookie('_osm_welcome') == 'hide') {
     $('.welcome').hide();
   }
index 08f1a76f9a2a81fa9cc8e469aed295c876c0a853..aa95e818a844972008acfc69feabedd602495b3c 100644 (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) {
 @import 'browse';
 
 @media only screen and (max-width:960px) {
index 4715570536f53cb3dcb6f002b30fd9635ffe70b0..e72214cbefe86fae1d9e6c816bd99766fec39c3c 100644 (file)
       <p class="error"><%= t 'layouts.osm_read_only' %></p>
     <% end %>
 
       <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>
     <div id="flash">
       <%= render :partial => "layouts/flash" %>
     </div>
index 69e52e44dfd685b685cf8a9102838c0bf9af3eb3..87123f282b142baebbb598dade977624c9b06d9d 100644 (file)
@@ -944,10 +944,6 @@ en:
       text: Make a Donation
     learn_more: "Learn More"
     more: More
       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
   license_page:
     foreign:
       title: About this translation