diff options
author | jessib <jessib@riseup.net> | 2013-10-08 12:32:07 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-10-08 12:32:07 -0700 |
commit | 014ff5bda0802d51b4cbca5a2fd904d953223d2f (patch) | |
tree | 96846abbd1ba30d365affe4891d2cfaea3176191 /billing/app/views/customer/show.html.haml | |
parent | eaedf19e2e54ccb9933caa8dc21df13e48609b18 (diff) |
Payments made when authenticated will be donations, and not connected to customer in any way.
Diffstat (limited to 'billing/app/views/customer/show.html.haml')
-rw-r--r-- | billing/app/views/customer/show.html.haml | 8 |
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' |