File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 1515 </ div >
1616 < div id ="columns ">
1717 < div id ="side ">
18+ <% if @cart %>
1819 <% hidden_div_if ( @cart . items . empty? , :id => "cart" ) do %>
1920 <%= render ( :partial => "cart" , :object => @cart ) %>
2021 <% end %>
22+ <% end %>
2123
2224 < a href ="http://www.... "> Home</ a > < br />
2325 < a href ="http://www..../faq "> Questions</ a > < br />
2426 < a href ="http://www..../news "> News</ a > < br />
2527 < a href ="http://www..../contact "> Contact</ a > < br />
26- < a href ="# "> <%= h Time . now %> </ a > < br />
28+ < a href ="# "> <%= h Time . now %> </ a > < br /> < br />
29+
30+ <% if session [ :user_id ] %>
31+ < div >
32+ <%= link_to '注文' , :controller => 'orders' %> < br />
33+ <%= link_to '商品' , :controller => 'products' %> < br />
34+ <%= link_to 'ユーザ' , :controller => 'users' %> < br /> < br />
35+ <%= link_to 'ログアウト' , :controller => 'admin' , :action => 'logout' %> < br />
36+ </ div >
37+ <% end %>
38+
2739 </ div >
2840 < div id ="main ">
2941 <% if flash [ :notice ] %>
You can’t perform that action at this time.
0 commit comments