Sha256: 14c1f4829caddac2b2037e131e7b268cc81ec8c22a4b2c4736b33f3ed0c0a0ab

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

<li <%== ' class="active"' if (defined? current and current == 'Comments') %>>
  <% if @order.comments.any? %>
    <%= link_to_with_icon 'comment-o', Spree.t(:comments_count, count: @order.comments.count), comments_admin_order_url(@order) %>
  <% else %>
    <%= link_to_with_icon 'comment-o', Spree.t(:comments), comments_admin_order_url(@order) %>
  <% end %>
</li>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_comments-1.0.1 app/views/spree/admin/orders/_tab.html.erb
solidus_comments-1.0.0 app/views/spree/admin/orders/_tab.html.erb