Proper osm logo
This commit is contained in:
parent
70f2529744
commit
160d6abe54
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 88 KiB |
|
@ -23,8 +23,8 @@
|
||||||
%span.address= @event.address
|
%span.address= @event.address
|
||||||
%span.city= @event.city
|
%span.city= @event.city
|
||||||
%span.region
|
%span.region
|
||||||
= t @event.region.code.present? ? @event.region.code : @event.region.name,
|
= t @event.region.code.presence || @event.region.name, scope: :countries,
|
||||||
scope: :countries, default: @event.region.name
|
default: @event.region.name
|
||||||
|
|
||||||
- if @event.latitude && @event.longitude
|
- if @event.latitude && @event.longitude
|
||||||
.event#map{ data: { url: maps_path(format: :json),
|
.event#map{ data: { url: maps_path(format: :json),
|
||||||
|
@ -33,11 +33,10 @@
|
||||||
- elsif controller.action_name != 'show'
|
- elsif controller.action_name != 'show'
|
||||||
%em.fa.fa-compress
|
%em.fa.fa-compress
|
||||||
%em
|
%em
|
||||||
= raw t '.noMap'
|
= t '.noMap'
|
||||||
%a{ target: '_blank',
|
%a{ target: '_blank',
|
||||||
href: 'https://osm.org/search?query=' + @event.full_address }
|
href: 'https://osm.org/search?query=' + @event.full_address }
|
||||||
%img(src='https://www.openstreetmap.org/assets/osm_logo.png'
|
= image_tag 'osm_logo.svg', alt: 'OSM logo', width: '32px'
|
||||||
alt='OSM logo' width='22px')
|
|
||||||
|
|
||||||
%h3= Event.human_attribute_name :description
|
%h3= Event.human_attribute_name :description
|
||||||
.description
|
.description
|
||||||
|
|
Loading…
Reference in New Issue