<table class="index">
  <colgroup>
    <col style="width: 18%" />
    <col style="width: 15%" />
    <col style="width: 20%" />
    <col style="width: 47%" />
  </colgroup>
  <thead>
    <tr>
      <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
      <th><%= Spree.t(:type) %></th>
      <th><%= Spree.t(:commenter) %></th>
      <th><%= Spree.t(:comment) %></th>
    </tr>
  </thead>
  <tbody>
    <% commentable.comments.reverse.each_with_index do |comment, index| %>
      <tr class="<%= cycle('odd', 'even')%>">
        <td class='align-center'><%= pretty_time(comment.created_at) %></td>
        <td class='align-center'><%= comment.comment_type.try(:name) || Spree.t(:none) %></td>
        <td class='align-center'><%= comment.user.email %></td>
        <td><%= comment.comment.html_safe %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<table class="index">
  <colgroup>
    <col style="width: 18%" />
    <col style="width: 15%" />
    <col style="width: 20%" />
    <col style="width: 47%" />
  </colgroup>
  <thead>
    <tr>
      <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
      <th><%= Spree.t(:type) %></th>
      <th><%= Spree.t(:commenter) %></th>
      <th><%= Spree.t(:comment) %></th>
    </tr>
  </thead>
  <tbody>
    <% commentable.comments.reverse.each_with_index do |comment, index| %>
      <tr class="<%= cycle('odd', 'even')%>">
        <td class='align-center'><%= pretty_time(comment.created_at) %></td>
        <td class='align-center'><%= comment.comment_type.try(:name) || Spree.t(:none) %></td>
        <td class='align-center'><%= comment.user.try(:email) %></td>
        <td><%= comment.comment.html_safe %></td>
      </tr>
    <% end %>
  </tbody>
</table>

Allow for comments without a user
Allow for comments without a user

Fixes #36

Conflicts:
	app/views/spree/admin/shared/_comment_list.html.erb
