Permalink
Browse files

make UI prettier in admin

  • Loading branch information...
1 parent 9255c32 commit c8b771415b8fce88e8597059b131d59ca2205e40 @drhenner committed Mar 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/views/admin/shopping/products/index.html.erb
View
6 app/views/admin/shopping/products/index.html.erb
@@ -31,15 +31,15 @@
<div id="admin_shopping_products_grid_wrapper" class='column pretty_table'>
<table>
<thead>
- <tr>
- <th><%= sortable "name" %></th>
+ <tr class='odd'>
+ <th class='column1_header'><%= sortable "name" %></th>
<th>Available</th>
<th><%= 'Product Type' %></th>
<th> Price Range </th>
</tr>
</thead>
<% @products.each do |product| %>
- <tr>
+ <tr class='<%= cycle("odd", "")%>'>
<td><%= link_to product.name, edit_admin_shopping_product_path(product) %></td>
<td><%= product.available? ? 'Yes' : 'No' %></td>
<td><%= product.product_type.name %></td>

0 comments on commit c8b7714

Please sign in to comment.