Merge pull request #7584 from opf/fix/30828/static-links-as-blank

[30828 Open static links as blank

[ci skip]
pull/7586/head
Oliver Günther 5 years ago committed by GitHub
commit 0d5887a64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save