Proper osm logo

This commit is contained in:
echarp 2019-10-06 16:54:37 +02:00
parent 70f2529744
commit 160d6abe54
2 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -23,8 +23,8 @@
%span.address= @event.address
%span.city= @event.city
%span.region
= t @event.region.code.present? ? @event.region.code : @event.region.name,
scope: :countries, default: @event.region.name
= t @event.region.code.presence || @event.region.name, scope: :countries,
default: @event.region.name
- if @event.latitude && @event.longitude
.event#map{ data: { url: maps_path(format: :json),
@ -33,11 +33,10 @@
- elsif controller.action_name != 'show'
%em.fa.fa-compress
%em
= raw t '.noMap'
= t '.noMap'
%a{ target: '_blank',
href: 'https://osm.org/search?query=' + @event.full_address }
%img(src='https://www.openstreetmap.org/assets/osm_logo.png'
alt='OSM logo' width='22px')
= image_tag 'osm_logo.svg', alt: 'OSM logo', width: '32px'
%h3= Event.human_attribute_name :description
.description