Sha256: d386b6642aba8527637058a95c21d1a27263c1f8b1849f3c2e7814be1e360465

Contents?: true

Size: 899 Bytes

Versions: 39

Compression:

Stored size: 899 Bytes

Contents

%h2.effective-orders-page-title My Subscriptions

- if @subscriptions.present?
  %p You have the following subscriptions:
  %ul
    - @subscriptions.each do |subscription|
      %li
        = subscription.title.html_safe
        = '('
        = link_to 'details', effective_orders.subscription_path(subscription.stripe_plan_id)
        = '-'
        = link_to 'unsubscribe', effective_orders.subscription_path(subscription.stripe_plan_id), :data => {:method => :delete, :confirm => 'This will cancel your subscription. Are you sure? This cannot be undone.'}
        = ')'

  - if @active_stripe_subscription.present?
    %p Your current subscription will be renewed automatically at #{ Time.zone.at(@active_stripe_subscription.current_period_end).strftime('%d-%b-%Y %H:%M') }.

- else
  %p You have no subscriptions

%p.text-right= link_to 'New Subscription', effective_orders.new_subscription_path

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
effective_orders-2.1.17 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.16 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.15 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.14 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.13 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.12 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.10 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.9 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.8 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.7 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.6 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.5 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.4 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.3 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.2 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.1 app/views/effective/subscriptions/index.html.haml
effective_orders-2.1.0 app/views/effective/subscriptions/index.html.haml
effective_orders-2.0.1 app/views/effective/subscriptions/index.html.haml
effective_orders-2.0.0 app/views/effective/subscriptions/index.html.haml
effective_orders-1.8.1 app/views/effective/subscriptions/index.html.haml