Sha256: 390b6282ca06c31dca5702e04240a935d396130262fe4e5a7017a7e9f0540e44

Contents?: true

Size: 1.22 KB

Versions: 18

Compression:

Stored size: 1.22 KB

Contents

Deface::Override.new(
  :virtual_path => "spree/admin/shared/_configuration_menu",
  :name => "add_recurring_tab_to_configuration_sidebar",
  :insert_bottom => "[data-hook='admin_configurations_sidebar_menu']",
  :text => "<%= configurations_sidebar_menu_item Spree.t(:recurrings), admin_recurrings_path %>",
  :disabled => false)

Deface::Override.new(
  :virtual_path => "spree/admin/reports/index",
  :name => "add_subscriptions_reports_index",
  :insert_after => "table.index tbody",
  :text => %q{<tr data-hook='reports_row'>
      <td class='align-center'><%= link_to Spree.t(:subscriptions), admin_subscriptions_url %></td>
      <td style="padding-left:1em">View Recurring Subscriptions</td>
    </tr>
    <tr data-hook='reports_row'>
      <td class='align-center'><%= link_to Spree.t(:subscription_events), admin_subscription_events_url %></td>
      <td style="padding-left:1em">View Recurring Subscription Events</td>
    </tr>},
  :disabled => false)

Deface::Override.new(
  :virtual_path => "spree/admin/shared/_tabs",
  :name => "select_reports_when_subscriptions",
  :replace => %q{erb[loud]:contains("tab :reports, :icon => 'icon-file'")},
  :text => %q{<%= tab :reports, :subscriptions, :icon => 'icon-file'%>},
  :disabled => false)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spree_account_recurring-1.3.1 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.2.1 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.3.0 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.2.0 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.1.5 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.7 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.1.4 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.6 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.5 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.1.3 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.1.2 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.4 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.3 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.2 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.1.1 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.1.0 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.1 app/overrides/admin/view_decorator.rb
spree_account_recurring-1.0.0 app/overrides/admin/view_decorator.rb