Skip to content

Commit

Permalink
Merge pull request #48 from brchristian/patch-8
Browse files Browse the repository at this point in the history
Ship and Print icons from the Spree 2.x icon set
  • Loading branch information
kennyadsl committed Aug 5, 2014
2 parents 2a219a0 + 8dabbe6 commit 226dbc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/spree/admin/products/issues/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<% end %>

<div class="toolbar" data-hook="admin_issue_show_buttons">
<%= button_link_to t(:ship), admin_magazine_issue_ship_path(@product, @issue), :icon => 'accept', :confirm => t(:are_you_sure) if !@issue.shipped? %>
<%= button_link_to t(:print), admin_magazine_issue_path(@product, @issue, :format => :pdf), :icon => 'pdf' %>
<%= button_link_to t(:ship), admin_magazine_issue_ship_path(@product, @issue), {icon: 'truck', confirm: Spree.t(:are_you_sure)} if !@issue.shipped? %>
<%= button_link_to t(:print), admin_magazine_issue_path(@product, @issue, :format => :pdf), {icon: 'file-pdf-o'} %>
</div>
<br class="clear">
<br>
Expand Down Expand Up @@ -47,4 +47,4 @@
</tr>
<% end %>
</tbody>
</table>
</table>

0 comments on commit 226dbc1

Please sign in to comment.