Sha256: e3d68baaba3f0a557b613eb6a4b0af0a9c6f449976731efde3edb9298095e785

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

Deface::Override.new(
  virtual_path: 'spree/admin/users/_sidebar',
  name: 'add avalara information link',
  insert_bottom: '[data-hook="admin_user_tab_options"]',
) do
  <<~HTML
    <li>
      <%= link_to_with_icon 'money',
        Spree.t('spree_avatax_official.information_url'),
        avalara_information_admin_user_path(@user),
        class: "nav-link" %>
    </li>
  HTML
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_avatax_official-1.8.0 app/overrides/spree/admin/sidebar.rb
spree_avatax_official-1.7.1 app/overrides/spree/admin/sidebar.rb