Sha256: 362aadd943a7e163624e25cfd222b671d69bdbf267b67f621e9c6a42617e7609

Contents?: true

Size: 708 Bytes

Versions: 2

Compression:

Stored size: 708 Bytes

Contents

Deface::Override.new(
  :virtual_path => "spree/admin/users/index",
  :name => "referral_code_header",
  :insert_before => "[data-hook='admin_users_index_headers'] th:nth-child(2)",
  :text => "<th class='align-center'>Referrals</th>"
)
Deface::Override.new(
  :virtual_path => "spree/admin/users/index",
  :name => "referral_code",
  :insert_before => "[data-hook='admin_users_index_rows'] td:nth-child(2)",
  :text => "<td class='align-center'><%= user.referred_count %></td>"
)
Deface::Override.new(
  :virtual_path => "spree/admin/users/index",
  :name => "column_withds",
  :replace => "#listing_users > colgroup",
  :text => "<col style='width: 75%'><col style='width: 10%'><col style='width: 15%'>"
)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_reffiliate-2.4.1 app/overrides/spree/admin/users/index.rb
spree_reffiliate-2.3.1 app/overrides/spree/admin/users/index.rb