From 94adcb93b1eac6b07408de9db7f12d46e9e7d390 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Mon, 9 Feb 2009 13:28:26 +0000 Subject: [PATCH] A few minor tweaks --- app/views/products/index.html.erb | 2 +- app/views/store/index.html.erb | 2 +- public/favicon.ico | Bin 0 -> 318 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/products/index.html.erb b/app/views/products/index.html.erb index ef89bd9..3e068e6 100644 --- a/app/views/products/index.html.erb +++ b/app/views/products/index.html.erb @@ -12,7 +12,7 @@
<%=h product.title %>
<%=h truncate(product.description.gsub(/<.*?>/, '|'), :length => 80) %>
-
<%=number_to_currency product.price, :unit => "£" %> +
<%=number_to_currency product.price, :unit => "£" %> <% if product.date_available.past? %>
Available since <%= product.date_available %>
<% else %> diff --git a/app/views/store/index.html.erb b/app/views/store/index.html.erb index c9f41e4..c65b69b 100644 --- a/app/views/store/index.html.erb +++ b/app/views/store/index.html.erb @@ -6,7 +6,7 @@

<%= link_to h(product.title), {:action => "add_to_cart", :id => product}, :method => "post" %>

<%= product.description %>
- <%= number_to_currency product.price, :unit => "£" %> + <%= number_to_currency product.price, :unit => "£" %> <%= button_to "Add to cart", :action => "add_to_cart", :id => product %>
diff --git a/public/favicon.ico b/public/favicon.ico index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ced5ec16f4c32c90b849d5dbaf34941d2aed9b2d 100644 GIT binary patch literal 318 zcmZ{fv26lD6ht2a+d>XF$%52`gt&)IAaFzhjyNIcfP|0&>;Py1(ZB^q15g101)$Fb z1Vr~ei$n&0^>#F~qg^djw2~yzUZYci7SIuiXp5LXo029AQvR4QWT~379>6k%^cRK; zMI(om@VfXBb5Y)|biahsHJ1>+?R?X|S+t>NcD}1@P;TMtLp`%DR5wyx^13%WN#C>G xAuC{GpTt2Gnb>+Exp`NUQmuRm!9N$D0X8L>N(ad5P&(+(;egle6_y^hxWrhF% literal 0 HcmV?d00001 -- 2.34.1