Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix offer partial

  • Loading branch information...
commit 65a881d3dfd57430920b0c2fa3fb6bd2de4484df 1 parent c54b6f2
@pzupan authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 app/views/products/_offers.html.erb
  2. +1 −1  config/locales/en.yml
View
4 app/views/products/_offers.html.erb
@@ -15,9 +15,9 @@
<p class="prices">
<% if @offer.product_id.nil? %>
<h3><%= t("or_make_an_offer!") %></h3>
- <%= (@previous.nil? ? '' : '<p>' + t('previous_high_offer') + ' <span class="price selling">' + product_price(@previous) + '</span></p>') %>
+ <%= (@previous.nil? ? '' : '<p>' + t('previous_high_offer') + ' <span class="price selling">' + product_price(@previous) + '</span></p>').html_safe %>
<% else %>
- <%= (@previous.nil? ? '' : '<p>' + t('highest_offer') + ' <span class="price selling">' + product_price(@previous) + '</span></p>') %>
+ <%= (@previous.nil? ? '' : '<p>' + t('highest_offer') + ' <span class="price selling">' + product_price(@previous) + '</span></p>').html_safe %>
<h3><%= t("your_current_offer") %></h3>
<p align='center'><%= offer_status(@offer)%></p>
<% end %>
View
2  config/locales/en.yml
@@ -13,7 +13,7 @@ en:
offer_has_been_submitted: 'Your offer has been submitted.'
offer_error_not_submitted: 'An error has occurred: Your offer has not been submitted.'
offer_error_not_signed_in: 'Error: You must be signed in to make an offer.'
- notified_by_email_on_acceptance: 'You will be notified by email <br /> if your offer is accepted.'
+ notified_by_email_on_acceptance: 'You will be notified by email if your offer is accepted.'
my_offers: 'My Offers'
list_price: 'List Price'
expires: 'Expires'
Please sign in to comment.
Something went wrong with that request. Please try again.