Skip to content

Commit

Permalink
Merge pull request #2 from TerraCycle/tc-2138-fix-sidebar
Browse files Browse the repository at this point in the history
[TC-2183] fix sidebar
  • Loading branch information
storhet authored Feb 28, 2020
2 parents c0c777c + b514f54 commit 298dd9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/overrides/add_documents_to_main_navigation.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Deface::Override.new(
virtual_path: 'spree/layouts/admin',
insert_bottom: '#main-sidebar',
insert_bottom: '#main-sidebar > nav',
partial: 'spree/admin/shared/menu/documents_tab',
name: 'documents_tab'
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
link_to_with_icon 'file',
Spree.t(:documents, scope: :print_invoice),
spree.admin_order_bookkeeping_documents_path(@order),
title: title
title: title,
class: 'nav-link'
%>
</li>
<% end %>
Expand Down

0 comments on commit 298dd9e

Please sign in to comment.