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-1.8.0 app/views/effective/subscriptions/index.html.haml
effective_orders-1.7.5 app/views/effective/subscriptions/index.html.haml
effective_orders-1.7.4 app/views/effective/subscriptions/index.html.haml
effective_orders-1.7.3 app/views/effective/subscriptions/index.html.haml
effective_orders-1.7.2 app/views/effective/subscriptions/index.html.haml
effective_orders-1.7.1 app/views/effective/subscriptions/index.html.haml
effective_orders-1.7.0 app/views/effective/subscriptions/index.html.haml
effective_orders-1.6.6 app/views/effective/subscriptions/index.html.haml
effective_orders-1.6.5 app/views/effective/subscriptions/index.html.haml
effective_orders-1.6.4 app/views/effective/subscriptions/index.html.haml
effective_orders-1.6.3 app/views/effective/subscriptions/index.html.haml
effective_orders-1.6.1 app/views/effective/subscriptions/index.html.haml
effective_orders-1.6.0 app/views/effective/subscriptions/index.html.haml
effective_orders-1.5.9 app/views/effective/subscriptions/index.html.haml
effective_orders-1.5.8 app/views/effective/subscriptions/index.html.haml
effective_orders-1.5.7 app/views/effective/subscriptions/index.html.haml
effective_orders-1.5.5 app/views/effective/subscriptions/index.html.haml
effective_orders-1.5.4 app/views/effective/subscriptions/index.html.haml
effective_orders-1.5.3 app/views/effective/subscriptions/index.html.haml