summaryrefslogtreecommitdiff
path: root/billing/app/views/customer/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'billing/app/views/customer/show.html.haml')
-rw-r--r--billing/app/views/customer/show.html.haml10
1 files changed, 8 insertions, 2 deletions
diff --git a/billing/app/views/customer/show.html.haml b/billing/app/views/customer/show.html.haml
index d385d98..8ef5517 100644
--- a/billing/app/views/customer/show.html.haml
+++ b/billing/app/views/customer/show.html.haml
@@ -8,7 +8,13 @@
= render :partial => "payments/transaction_details", :locals => {:transaction => t}
- counter += 1
= link_to 'Transaction History', payments_path
+%h3 Subscriptions
- if @active_subscription
- %h3 Active Subscription
= render :partial => "subscriptions/subscription_details", :locals => {:subscription => @active_subscription}
- = link_to 'All subscriptions', subscriptions_path \ No newline at end of file
+- else
+ %p
+ No active subscription
+ %p
+ = link_to 'subscribe to plan', new_subscription_path, :class => :btn
+%p
+ = link_to 'All subscriptions', subscriptions_path