From 86788d5222a253d3076675eea00fd6baf52f4107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Fri, 23 Aug 2019 14:05:37 +0200 Subject: [PATCH] Open static links as blank --- app/helpers/static_links_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/static_links_helper.rb b/app/helpers/static_links_helper.rb index 60f766094f..20271e1a94 100644 --- a/app/helpers/static_links_helper.rb +++ b/app/helpers/static_links_helper.rb @@ -34,6 +34,6 @@ module StaticLinksHelper # Create a static link to the given key entry def static_link_to(key) item = OpenProject::Static::Links.links.fetch key - link_to t(item[:label]), item[:href], class: 'openproject--static-link' + link_to t(item[:label]), item[:href], class: 'openproject--static-link', target: '_blank' end end