projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Capfile tweak
[depot.git]
/
app
/
views
/
layouts
/
store.html.erb
diff --git
a/app/views/layouts/store.html.erb
b/app/views/layouts/store.html.erb
index 77e86d9e23e08684c1cbb69f3c329f337ed50fd0..b1f928e99aa5dd06fc4e613f969626f74767372d 100644
(file)
--- a/
app/views/layouts/store.html.erb
+++ b/
app/views/layouts/store.html.erb
@@
-5,6
+5,7
@@
<head>
<title>Neil's Whimsical Online Store</title>
<%= stylesheet_link_tag "depot" , :media => "all" %>
<head>
<title>Neil's Whimsical Online Store</title>
<%= stylesheet_link_tag "depot" , :media => "all" %>
+ <%= javascript_include_tag :defaults %>
</head>
<body id="store">
<div id="banner">
</head>
<body id="store">
<div id="banner">
@@
-13,7
+14,10
@@
</div>
<div id="columns">
<div id="side">
</div>
<div id="columns">
<div id="side">
- <a href="http://www....">Home</a><br />
+ <% hidden_div_if(@cart.items.empty?, :id => "cart") do %>
+ <%= render(:partial => "cart" , :object => @cart) %>
+ <% end %>
+ <a href="/">Home</a><br />
<a href="http://www..../faq">Questions</a><br />
<a href="http://www..../news">News</a><br />
<a href="http://www..../contact">Contact</a><br />
<a href="http://www..../faq">Questions</a><br />
<a href="http://www..../news">News</a><br />
<a href="http://www..../contact">Contact</a><br />
@@
-22,8
+26,9
@@
<% if flash[:notice] -%>
<div id="notice"><%= flash[:notice] %></div>
<% end -%>
<% if flash[:notice] -%>
<div id="notice"><%= flash[:notice] %></div>
<% end -%>
-
- <%= yield :layout %>
+ <div id="main_panel">
+ <%= yield :layout %>
+ </div>
</div>
</div>
</body>
</div>
</div>
</body>