From 0c58fc6a9aab733e703e1dabff7bcebb883f2411 Mon Sep 17 00:00:00 2001 From: echarp Date: Tue, 27 Nov 2018 19:27:20 +0100 Subject: [PATCH] OSM link will now open in a new target window --- app/views/events/show.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index 920d1345..29b42097 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -38,7 +38,8 @@ %em.fa.fa-compress %em = raw t '.noMap' - %a{ href: 'https://osm.org/search?query=' + @event.full_address } + %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')