From: Neil Smith Date: Mon, 9 Feb 2009 13:28:26 +0000 (+0000) Subject: A few minor tweaks X-Git-Url: https://git.njae.me.uk/?p=depot.git;a=commitdiff_plain;h=94adcb93b1eac6b07408de9db7f12d46e9e7d390 A few minor tweaks --- 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 e69de29..ced5ec1 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ