mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
invoice: more fixes
This commit is contained in:
parent
36e35c913e
commit
a3832f25e1
1 changed files with 10 additions and 2 deletions
|
@ -4,20 +4,28 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<% if parent_site.paying_supporter? %>
|
<% if parent_site.paying_supporter? %>
|
||||||
<a class="btn-Action" href="/supporter" style="margin-bottom: 20px">Supporter Info</a>
|
<a href="/supporter" style="margin-bottom: 20px">Supporter Info</a>
|
||||||
<small><a href="#" onclick="$('#endSupporterConfirm').modal()" style="font-size: 8pt">End Supporter Membership</a></small>
|
<small><a href="#" onclick="$('#endSupporterConfirm').modal()" style="font-size: 8pt">End Supporter Membership</a></small>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p class="tiny">
|
<p class="tiny">
|
||||||
You currently have the <strong>Free Plan (<%= current_site.maximum_space.to_space_pretty %>)</strong>.<br>Want to get more space and help Neocities? Become a supporter!
|
You currently have the <strong>Free Plan (<%= current_site.maximum_space.to_space_pretty %>)</strong>.<br>Want to get more space and help Neocities? Become a supporter!
|
||||||
</p>
|
</p>
|
||||||
<a href="/supporter">Supporter Info</a>
|
<a href="/supporter">Supporter Info</a>a
|
||||||
|
<% puts "XXXX #{parent_site.stripe_customer_id}" %>
|
||||||
|
<% puts "XXXX #{parent_site.paypal_profile_id}" %>
|
||||||
<% if parent_site.stripe_customer_id || parent_site.paypal_profile_id %>
|
<% if parent_site.stripe_customer_id || parent_site.paypal_profile_id %>
|
||||||
<br>
|
<br>
|
||||||
<a href="/settings/invoices">Generated Invoices</a>
|
<a href="/settings/invoices">Generated Invoices</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<% if parent_site.stripe_customer_id || parent_site.paypal_profile_id %>
|
||||||
|
<br>
|
||||||
|
<a href="/settings/invoices">Generated Invoices</a>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
<div class="modal hide fade" id="endSupporterConfirm" tabindex="-1" role="dialog" aria-labelledby="endSupporterConfirmLabel" aria-hidden="true">
|
<div class="modal hide fade" id="endSupporterConfirm" tabindex="-1" role="dialog" aria-labelledby="endSupporterConfirmLabel" aria-hidden="true">
|
||||||
<form method="POST" action="/supporter/end">
|
<form method="POST" action="/supporter/end">
|
||||||
<%== csrf_token_input_html %>
|
<%== csrf_token_input_html %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue