diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-09-09 20:01:44 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-09-09 20:03:08 +0200 |
commit | 14f467d814bd1d2e5c0745698828d32744137a73 (patch) | |
tree | ac7f85dcb47b902187b63693d17d4e7d4b9cdd97 | |
parent | 8c18dfd2c16383a84e36d6232a0ad6ba327cd9b3 (diff) | |
download | hmnoweb-14f467d814bd1d2e5c0745698828d32744137a73.tar.gz hmnoweb-14f467d814bd1d2e5c0745698828d32744137a73.tar.bz2 hmnoweb-14f467d814bd1d2e5c0745698828d32744137a73.zip |
Gallery links issue #83: Open galleries in new window/tab.deploy-20180909
-rw-r--r-- | vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb index 714e59f..c50fbb8 100644 --- a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb +++ b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/index.html.erb @@ -9,14 +9,14 @@ </time> </div> <h1> - <%= link_to g.bands, g.url %> + <%= link_to g.bands, g.url, target: '_blank', rel: 'noopener noreferrer' %> </h1> <div class="gallery_link_meta"> <%= g.venue %> </div> </header> <section class="gallery_link_preview"> - <%= link_to image_tag(g.image.thumbnail(:medium).url), g.url %> + <%= link_to image_tag(g.image.thumbnail(:medium).url), g.url, target: '_blank', rel: 'noopener noreferrer' %> </section> <section class="gallery_link_description"> <%=raw g.description %> |