From ed35ab71a521dcfa886208d283408a8dcd8f45a8 Mon Sep 17 00:00:00 2001 From: Mario See Date: Mon, 22 Jul 2019 11:08:36 -0400 Subject: [PATCH] Open "buy credits" link in new tab in creating listings (#3506) * open in new tab * add no opener and no referrer rel to links opening in new tab --- app/views/classified_listings/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/classified_listings/_form.html.erb b/app/views/classified_listings/_form.html.erb index b5b4b2e35..b8a2ff9db 100644 --- a/app/views/classified_listings/_form.html.erb +++ b/app/views/classified_listings/_form.html.erb @@ -78,7 +78,7 @@

Listings Require Credits

<% end %>
- You have <%= pluralize @credits.size, "credit" %> available — Buy More + You have <%= pluralize @credits.size, "credit" %> available — Buy More
<% if @organizations.present? %>
@@ -88,7 +88,7 @@ <% end %> has <%= @organizations.first.unspent_credits_count %> credits - - Buy More + Buy More
<%= javascript_pack_tag "orgCreditsSelector", defer: true %> <% end %>