Commit 7abf5f145cd0748a28a03909fa1964fe5f8666d2
Committed by
Antonio Terceiro
1 parent
595fbb0b
Exists in
master
and in
22 other branches
ActionItem860: remove link to wikimapia
Showing
2 changed files
with
0 additions
and
2 deletions
Show diff stats
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 |