Sha256: ad014d3e4fb2f25e7dc1274fcc9d5cc18cd57547fe1fa82c8a673d8dd257983c

Contents?: true

Size: 377 Bytes

Versions: 6

Compression:

Stored size: 377 Bytes

Contents

Deface::Override.new(:virtual_path => 'spree/users/show',
  :name => 'add_loyalty_points_balance_to_account_page',
  :insert_after => "#user-info",
  :text => "
    <dl id='loyalty-points-info'>
      <dt><%= Spree.t(:loyalty_points_balance) %></dt>
      <dd><%= @user.loyalty_points_balance %> (<%= link_to Spree.t(:details), spree.loyalty_points_path %>)</dd>
    </dl>
  ")

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_loyalty_points-1.1.1 app/overrides/add_loyalty_points_balance_to_account_page.rb
spree_loyalty_points-1.0.3 app/overrides/add_loyalty_points_balance_to_account_page.rb
spree_loyalty_points-1.1.0 app/overrides/add_loyalty_points_balance_to_account_page.rb
spree_loyalty_points-1.0.2 app/overrides/add_loyalty_points_balance_to_account_page.rb
spree_loyalty_points-1.0.1 app/overrides/add_loyalty_points_balance_to_account_page.rb
spree_loyalty_points-1.0.0 app/overrides/add_loyalty_points_balance_to_account_page.rb