From: Neil Smith <neil.git@njae.me.uk> 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 @@ <dt><%=h product.title %></dt> <dd><%=h truncate(product.description.gsub(/<.*?>/, '|'), :length => 80) %></dd> - <dd><%=number_to_currency product.price, :unit => "£" %> + <dd><%=number_to_currency product.price, :unit => "£" %> <% if product.date_available.past? %> <dd>Available since <%= product.date_available %></dd> <% 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 @@ <h3><%= link_to h(product.title), {:action => "add_to_cart", :id => product}, :method => "post" %></h3> <%= product.description %> <div class="price-line"> - <span class="price"><%= number_to_currency product.price, :unit => "£" %></span> + <span class="price"><%= number_to_currency product.price, :unit => "£" %></span> <%= button_to "Add to cart", :action => "add_to_cart", :id => product %> </div> </div> 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