Commit 7abf5f145cd0748a28a03909fa1964fe5f8666d2

Authored by Joenio Costa
Committed by Antonio Terceiro
1 parent 595fbb0b

ActionItem860: remove link to wikimapia

app/models/localization_block.rb
@@ -16,7 +16,6 @@ class LocalizationBlock < Block @@ -16,7 +16,6 @@ class LocalizationBlock < Block
16 block_title(title) + 16 block_title(title) +
17 content_tag('div', 17 content_tag('div',
18 '<img src="http://maps.google.com/staticmap?center='+profile.lat.to_s()+','+profile.lng.to_s()+'&zoom=8&size=205x250&maptype=roadmap&markers='+profile.lat.to_s()+','+profile.lng.to_s()+',green&key='+GoogleMaps::key+'&sensor=false"/>', 18 '<img src="http://maps.google.com/staticmap?center='+profile.lat.to_s()+','+profile.lng.to_s()+'&zoom=8&size=205x250&maptype=roadmap&markers='+profile.lat.to_s()+','+profile.lng.to_s()+',green&key='+GoogleMaps::key+'&sensor=false"/>',
19 - :onclick => "window.open('http://wikimapia.org/#lat=#{profile.lat.to_s()}&lon=#{profile.lng.to_s()}&z=12&l=0&m=m&v=2','_blank','width=750,height=500')",  
20 :class => 'the-localization-map' ) : 19 :class => 'the-localization-map' ) :
21 content_tag('i', _('This profile has no geographical position registered.')) 20 content_tag('i', _('This profile has no geographical position registered.'))
22 end 21 end
public/stylesheets/blocks/localization-block.css
@@ -9,6 +9,5 @@ @@ -9,6 +9,5 @@
9 padding: 3px; 9 padding: 3px;
10 background: #FFF; 10 background: #FFF;
11 border: 1px solid #888; 11 border: 1px solid #888;
12 - cursor: pointer;  
13 } 12 }
14 13