Sha256: 32de7d89887c482450733329efa86d47313b839b0804dfd9c30656580ae8233a

Contents?: true

Size: 248 Bytes

Versions: 14

Compression:

Stored size: 248 Bytes

Contents

<% state_class = {
    fulfilled: 'active',
    unfulfilled: 'error',
}[installment.state.to_sym] %>

<span class="pill pill-<%= state_class %>">
  <%= SolidusSubscriptions::Installment.human_attribute_name("state.#{installment.state}") %>
</span>

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 app/views/spree/admin/subscription_events/_state_pill.html.erb
solidus_subscriptions-2.0.2 app/views/spree/admin/installments/_state_pill.html.erb
solidus_subscriptions-2.0.1 app/views/spree/admin/subscription_events/_state_pill.html.erb
solidus_subscriptions-2.0.1 app/views/spree/admin/installments/_state_pill.html.erb
solidus_subscriptions-2.0.0 app/views/spree/admin/installments/_state_pill.html.erb
solidus_subscriptions-2.0.0 app/views/spree/admin/subscription_events/_state_pill.html.erb
solidus_subscriptions-1.1.0 app/views/spree/admin/subscription_events/_state_pill.html.erb
solidus_subscriptions-1.1.0 app/views/spree/admin/installments/_state_pill.html.erb
solidus_subscriptions-1.0.1 app/views/spree/admin/subscription_events/_state_pill.html.erb
solidus_subscriptions-1.0.1 app/views/spree/admin/installments/_state_pill.html.erb
solidus_subscriptions-1.0.0 app/views/spree/admin/installments/_state_pill.html.erb
solidus_subscriptions-1.0.0 app/views/spree/admin/subscription_events/_state_pill.html.erb
solidus_subscriptions-1.0.0.rc1 app/views/spree/admin/subscription_events/_state_pill.html.erb
solidus_subscriptions-1.0.0.rc1 app/views/spree/admin/installments/_state_pill.html.erb