Sha256: 231f60f60b38fe631d2c278b72753b8c4bdb6706f22da2674fe728d8dc7e6f61

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

Deface::Override.new(
  virtual_path:  'spree/admin/option_types/index',
  name:          'option_types_index_translation',
  insert_top:    'td.actions > span:first',
  text:          <<-HTML
                  <%= link_to_with_icon 'translate', nil, spree.admin_translations_path('option_types', option_type.id), title: Spree.t(:'i18n.translations'), class: 'btn btn-sm btn-primary', no_text: true %>
                HTML
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_mobility-1.4.0 app/overrides/spree/admin/option_types/index/add_translation.rb