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.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/billing/app/views/customer/show.html.haml b/billing/app/views/customer/show.html.haml
index 243bd3b..d91a4e7 100644
--- a/billing/app/views/customer/show.html.haml
+++ b/billing/app/views/customer/show.html.haml
@@ -1,10 +1,7 @@
- if admin? and !@customer
= t(:no_saved_customer)
- else
- - if current_user == @user
- .form-actions
- = link_to t(:make_payment), new_payment_path, :class => 'btn btn-primary'
- = render :partial => 'payments/customer_data'
+ = render :partial => 'customer_data'
%legend= t(:last_three_transactions)
- counter = 0
= # these will be ordered with most recently created first, per http://stackoverflow.com/questions/16425475/
@@ -25,3 +22,6 @@
= link_to t(:subscribe_to_plan), new_subscription_path, :class => :btn
%p
= link_to t(:all_subscriptions), user_subscriptions_path(@user)
+
+.form-actions
+ = link_to t(:make_donation), new_payment_path, :class => 'btn btn-primary'